Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

Power BI simplifying a measure

Hi


In Power BI I have been given the following measure. Is there not an easier way to do this?

TOTAL SALES 2020 = var currentyear = SELECTEDVALUE('CALENDAR'[Year],year(today())) return CALCULATE([TOTAL SALES],'CALENDAR'[Year]=currentyear-1) 

it is used in the following dashboard



Open in new window

Power BI

Avatar of undefined
Last Comment
Cédric Tielemans
ASKER CERTIFIED SOLUTION
Avatar of Cédric Tielemans
Cédric Tielemans
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Power BI
Power BI

Power BI is a business analytics tool from Microsoft used for data visualization. It integrates seamlessly with other tools, like Microsoft Excel, and is easily embedded in websites and apps. Power BI offers live dashboards and visual reports to help “bring your data to life.” There are many opportunities for customization, as well as built-in options for your visualizations and analytics. With the Power BI mobile app, you can receive push notifications about important data changes, allowing you to react and plan right away.

773
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo