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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

YTD Running Totals based on current visual table

Hello,

 

I have a table with Months as its first column and a score value as the second column.

The score is a complex measure that is calculated from various measures and tables. It is not a figure in a specific table.

 

I don't seem to get it right for creating a YTD running total of that measure.

I tried:

Overall Performance YTD = 
CALCULATE (
    SUMX ( VALUES ( dimCalendar[MonthYear] ), [Overall Performance] ),
    FILTER (
        ALLSELECTED ( dimCalendar[MonthYear] ),
        dimCalendar[MonthYear] <= MAX ( dimCalendar[MonthYear] )
    )
)

 The result should be :[20,44,68...etc]

Performance YTD.PNG

 

 

Please find a link to a demo table.

Demo Table

 

Thank you,

Tamir

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

I didn't see anything you described here in the demo. Can you check the demo file, please? Seems the result is right in the demo.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors