cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StefPH76
Regular 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 IV
Super User IV

@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

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@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

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors