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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
tvathis
Frequent Visitor

Date Measure - graph with multiple years and % for each year

Hi!

I'm trying to create a clustered column chart that can show the % of each year, not the % of all years combined.  

I currently have the 3 years seperated.

I can add a filter to show each year seperately, but when I put all 3 years in the same graph it changes the % values.

 

I do not have any measures set up at this time.  

Here is my current graphs.  

I'm very new to Power BI and am not sure how to get it to calculate.  

Any help would be greatly appreciated.  

power bi date charts.png

 

Thank  you! 

4 REPLIES 4
amitchandak
Super User
Super User

@tvathis , try a measure like

 

divide([Measure], calculate([Measure], filter(allselected(Date) , Date[Year] = Max(Date[Year]) ) ) )

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Do I need to create a Measure first? or where it says Measure, would I put the field in there? 

It can be a measure or an aggregation where he has [Measure].  But do yourself a favor, look at the introduction free training here...Introducing DAX Video Course - SQLBI.  This will really help you get up to speed.

Thank you so much! 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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