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
Anonymous
Not applicable

YTD on the end of clusterd column chart (one chart)

Hello, team. 

 

I would like to know how can I put the YTD on the same chart of the other values. 

 

azauskis_1-1651764899577.png

 

I tried following these guidelines but it didn't work: Solved: Re: Weekly graph data and YTD data in one chart - Microsoft Power BI Community

 

Thank you in advance for your help 🙂

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello,
I got solve it! 🙂
Soon, i will post the solution. 
Thank you for your attention.

View solution in original post

3 REPLIES 3
Whitewater100
Solution Sage
Solution Sage

Hi:

If you have two separate measures (base and YTD) you can add to a chart(s). It's important to have a date table,marked as date table and with relationship to your fact table(table with data you are visualizing). There are more ways to do this and some people like using bookmark to give this flexibility. If interested in bookmark approach, there are many youtube videos on that. I hope this helps..

Whitewater100_0-1652274273654.png

Total Sales = SUM(Data[Sales])
YTD Sales = TOTALYTD([Total Sales], Dates[Date])
 
Whitewater100_1-1652274368508.png

 

Anonymous
Not applicable

Hello,
I got solve it! 🙂
Soon, i will post the solution. 
Thank you for your attention.

tamerj1
Super User
Super User

Hi @Anonymous 

can you share sample file and the code you used?

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.

Top Solution Authors