cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Louis63
New Member

Targeted Value Measure with Gauge

Hello,

I have data with a turnover per year and I would like to create a gauge that gives the turnover achieved in the current year.

So far, no problem.

Louis63_0-1670411841885.png

 

I would like to create a measure that would go into "Expected value" to have the previous year's turnover * 10% as the current year's turnover target.

I tried this expression but it doesn't worked :

 

Expected Turnover = CALCULATE([Total Sales], SAMEPERIODLASTYEAR(DIM_Dates[Date]) * 1.1
 
Have you any suggestions?
 
Best
1 REPLY 1
amitchandak
Super User
Super User

@Louis63 , in case of ytd try like

 

Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-1,Year),"12/31")) *1.1

 

 

make sure date table is marked as date table

Helpful resources

Announcements
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors