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.
Hi,
I have a measure based on all the jobs and have removed the filters from the evaluation context so I am expecting the same value to be displayed, for example all agreements of industry type 'Cafe' should be displaying 91.15 for 'KG's per M3 by Industry' but some are blank but I need a value in each cell, how can I achieve this?
Many Thanks Nathan
https://www.dropbox.com/s/dqsg36arrimeqk7/Power%20BI%20Sample.pbix?dl=0
Solved! Go to Solution.
You have this in your measure:
Try and change your measure to this:
KG's Per M3 by Industry = IF(ISBLANK([Total Annual Revenue]), BLANK(), CALCULATE([Weight by Volume], ALL(User[Sales Person]) ,ALL(Agreement[Contract Signed Date], Agreement[Customer Contract Start Date]) ,ALL(Site[Account Code], Site[Company Name], Site[Site Name], Site[Site Town], Site[PostCode]) ,ALL(MaterialTypes[Material Type]) ,ALL(ContainerTypes[Container Type]) ))
The blue comment you have on your picture, not sure if you're reffering to the lift rate column as the other one does add up. If so, this is because you use a "FIRSTNONBLANK". The "total" row in the matrix will calculate the measure without row context, not just sum of the rows. Therefore it will only calculate for the firstnonblank it finds.
Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!
Stay up to date on
Read my blogs on
Remember to spread knowledge in the community when you can!
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
You have this in your measure:
Try and change your measure to this:
KG's Per M3 by Industry = IF(ISBLANK([Total Annual Revenue]), BLANK(), CALCULATE([Weight by Volume], ALL(User[Sales Person]) ,ALL(Agreement[Contract Signed Date], Agreement[Customer Contract Start Date]) ,ALL(Site[Account Code], Site[Company Name], Site[Site Name], Site[Site Town], Site[PostCode]) ,ALL(MaterialTypes[Material Type]) ,ALL(ContainerTypes[Container Type]) ))
The blue comment you have on your picture, not sure if you're reffering to the lift rate column as the other one does add up. If so, this is because you use a "FIRSTNONBLANK". The "total" row in the matrix will calculate the measure without row context, not just sum of the rows. Therefore it will only calculate for the firstnonblank it finds.
Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!
Stay up to date on
Read my blogs on
Remember to spread knowledge in the community when you can!
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |