Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.