Forum Discussion
Remove Total Value for DAX Measure Without HasOneValue
Hey there Power BI Community,
I want to remove the totals for a DAX measure on a normal table in Power BI. Looking around all I could find is an equation that uses the HasOneValue function in it. This DOES NOT work for me. The measure that I am using is meant to have more than one value inside of it normally. Here is that measure:
So, is there a way to get rid of the total value for a measure that has more than one value? (Reminder: I cannot use HasOneValue)
Thanks,
David
I finally found a solution to this!
I wanted to make sure that I posted this in case nyone has the same problem in the future. The solution came from this link (Thanks to the Excel Club!):Learn How to Fix Totals and Subtotals in DAX (theexcelclub.com)
Here is what my final equation came out to. It uses the HasOneFilter Dax function. I have never used this one before, but it works great with this problem.
I hope that this solution can help someone else in the future as well!
4 Replies
- IdrissshatilaSuper User
- d_rohlfsResolver II
Using this function seems like I need to change my original DAX measure, unfortunately this is not an option for me. I can place more functions around the DAX equation, but there are a lot of nuances that were required to get the equation to work properly so changing it is not an option.
- d_rohlfsResolver II
Hey Power BI Community,
I am still looking for a solution to this problem. I am wondering if there is a way to format the font size for the total line values on a single column at a time? This could be a good work-around to my original problem.
Thanks,
David - d_rohlfsResolver II
I finally found a solution to this!
I wanted to make sure that I posted this in case nyone has the same problem in the future. The solution came from this link (Thanks to the Excel Club!):Learn How to Fix Totals and Subtotals in DAX (theexcelclub.com)
Here is what my final equation came out to. It uses the HasOneFilter Dax function. I have never used this one before, but it works great with this problem.
I hope that this solution can help someone else in the future as well!