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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors