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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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