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
Anonymous
Not applicable

DIVIDE Measure by itself based on dynamic filter

Screenshot (214).png

Hi there,

I'm stuck in a calculation I don't know if it's even possible to make or not.

I'm trying to make the calculation so as to be like this one below:

 

Revenue % / Revenue %

 

But the numerator should be filtered by date interval and denominator should be filtered by anothee one.

Both filters will be dynamic filters in the dashboard itself.

 

Is there anyway I can make this calculation?

1 ACCEPTED SOLUTION

Hello @MOHED1224 ,

You must create two equal tables. and create two same measures from the columns of these two tables. You can then filter the numerator and denominator in two filter contexts.

For more details, see my pbix sample: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EdvXkmy6JZZDsJUW2m...

If this post helps, then consider Accepting it as the solution to help other members find it more quickly.

Best regards

Dedmon Dai

View solution in original post

7 REPLIES 7
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Not very clear.

 

Please share sample data and expected output.

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

 

Anonymous
Not applicable

Screenshot (214).png

These 2 measures are the same but each one is affected by one of those date filter.

What I want is to create a new measure that take those two different values of the same measure and divide them to make the improvement KPI.

Hi @Anonymous 

What is the formula you are using to get this two measures?

Are these two independent filter on the same date field?

 

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
Anonymous
Not applicable

Return Percentage = DIVIDE('Measure Home'[Return Volume Tones],[Net Volume])

Yes they're two separate filters on the same date field.

Hello @MOHED1224 ,

You must create two equal tables. and create two same measures from the columns of these two tables. You can then filter the numerator and denominator in two filter contexts.

For more details, see my pbix sample: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EdvXkmy6JZZDsJUW2m...

If this post helps, then consider Accepting it as the solution to help other members find it more quickly.

Best regards

Dedmon Dai

Anonymous
Not applicable

It worked.

Thank you so much!

Your input paved the way to the solution.

Hi @Anonymous ,

 

I'm glad that your issue has been solved. Would you please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

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.