Forum Discussion
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.
Anonymous , 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/500115calculation 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
1 Reply
- amitchandakSuper User
Anonymous , 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/500115calculation 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