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
StefPH76
Frequent Visitor

Add or remove measure from table

There must be a silly simple solution to my problem but I have not found it yet.  Lets say I have a list of departments and for each I am showing 2 measures, actuals and budgets. But at some point during the year a forecast will be made and I want my users to be able to choose whether they want to add this to the visual, which will then show 3 measures, actuals, budgets and forecasts. 

 

I have seen solutions that work based on a measure table and switching between chosen values, but these produce blanks or zeros, I would like the measure to be removed from the visual, so no empty column.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@StefPH76 , There two type of solution, Measure slicer or Calculation groups

measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

There is another one where value become blank and it does not get removed from visual

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@StefPH76 , There two type of solution, Measure slicer or Calculation groups

measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

There is another one where value become blank and it does not get removed from visual

 

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.