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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
topazz11
Helper III
Helper III

measure to calculate value and filter

Hi Guys, 

 

I have created a measure to calculate "base - hour" but it didn't work.

base value still shows sum of it not the real value.

also it is totally changee when i filter out 0 value from the table.

Can anyone advise please?

 

pbix is here

pbix 

pbix 

 

 

desired output is like this

Screenshot 2024-03-22 172459.png

 

3 ACCEPTED SOLUTIONS
Wilson_
Super User
Super User

Hi topazz11,

 

I cannot access your pbix link. I think you need to check your sharing permissions.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

topazz11,

 

Here's my updated copy of your pbix, with your data model untouched. Keep in mind the base measure will only work as intended if the visual you use it in only has the columns shown in the SUMMARIZE function. (I think ideally your data model would look a little different, but that's another story for a different day. :D)


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1711164261810.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1711164261810.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur,

 

Average was my first thought but it doesn't work because the totals are incorrect.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Wilson_
Super User
Super User

Hi topazz11,

 

I cannot access your pbix link. I think you need to check your sharing permissions.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





The link should work now.

topazz11,

 

Here's my updated copy of your pbix, with your data model untouched. Keep in mind the base measure will only work as intended if the visual you use it in only has the columns shown in the SUMMARIZE function. (I think ideally your data model would look a little different, but that's another story for a different day. :D)


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





thank you! I couldn't think about summarizing the table. good to know!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors