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
joshua1990
Post Prodigy
Post Prodigy

Summing up different granularitys

Hello!

 

I am looking for a function/ approch for summing up the value on the lowest granularity for a whole family.

So, I have an ItemMaster like this:

AreaArticle
1XX
2BB

 

Then I have a Fact Sheet with the Value per Article per Day

DateArticleValue
01.01.2020XX5000
01.01.2020BB8200

 

And then I have a table with the Budget per Article (Article-Budget)

 

Now I want to calculate the difference between the Target and the Value per Item per Week.

This can be solved by an easy subtraction like [Target]-[Value].

Now I want to calculate the sum of all article per area, that are below Target.

And then I want to calculate the sum of all articles that are above Target.

 

How would you do that with a Dax Measure?

 

2 REPLIES 2
Anonymous
Not applicable

Well, I'm afraid you've given us a bit less info than needed. We'd like to see your data model.
Anonymous
Not applicable

hello, 
here is my small example, maybe it will help u  :
scr.png

 

 

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