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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MarinaVilela
New Member

Hierarchy not summing correctly

Hi. I have two measures: Rev 2017 and Rev 2018 and I am making comparisons with data hierarchy. They work perfectly alone, but when I put them together in a chart, both in the value field, one of them (the latest included) doesn’t respect the month and quarter sums. It gives in every line the total year revenue. I know this must be very simple. But I am new in Power Bi and would appreciate any help. Thanks a lot
3 REPLIES 3
MarinaVilela
New Member

Hi. I have two measures: 2017 total revenue and 2018 total revenue. I am using them with date hierarchy.
They work just fine when used alone. I mean, they sum by quarters, by month and by year. However when I select both to be shown in a graphic, the last one added does not sum correctly. It just gives the total revenue number in any view. I know it is pretty simple, but I am new in Power Bi and would aporeciate any help. Thanks in advance

Are 2017 and 2018 different tables?

 

If yes, it is highly recommended to use a separate DateTable instead of maybe linking the Date columns.

 

Please give us further information.

Marina,

 

Can you show us the DAX of the two measures? 

 

It could be a faulty filter on one or both of them that isn't restricting it to the correct year.

 

Thanks,

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors