Forum Discussion

Celynx's avatar
Celynx
New Member
2 years ago
Solved

How to prevent a measure from being duplicated in each column when using a matrix in Power BI

Hi, hope you have a good day. Please your help with this, I have not been able to find the way to create this visual in Power BI and it seems to me quite simple.
I have used the matrix where I can show the measure A for each selected month, so far so good. Now, I need to add a single column with a calculation that takes into account different months (Measure B), "similar to a total but with a specific operation, not a simple sum, average etc" when i add the value the column is duplicated by every month and the value is affected by this filter, I just need to show it at the end of the table once.

This is the example in excel of what i want to do, I have looked in the customization options of the table but I can't find the way to do it.  I would appreciate it if someone could help me

 

  • Read about HASONEVALUE  and then modify Measure A to produce a different result depending where in the visual you are.  You can rename the Column totals from "Total" to "Title Measure B"  .  No need for measure B.

2 Replies

  • Read about HASONEVALUE  and then modify Measure A to produce a different result depending where in the visual you are.  You can rename the Column totals from "Total" to "Title Measure B"  .  No need for measure B.

    • Celynx's avatar
      Celynx
      New Member

      Thank you so much, that was exactly what i needed.