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
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]) ) ) )

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
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.

Top Kudoed Authors