We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Show and hide measures dynamically in a visual based on users solution
Table : product table
Column name : amount ,sales,units sold. Slicer : amount ,sales , units sold .If I click particular column name in slicer ,only filter particular column other column need not be visible
Hi, @Karthikgayathri
You can use a combination of slicers and the SILECTEDVALUE function. for example.
Firstly, you need to create a table with the names of the measures you want to show and hide. This can be done in the Modeling tab, under "New Table". The DAX formula might look something like this:
Then, create a slicer using this table. This will allow your users to select which measure they want to see.
Next, create a new measure which uses the selected value from the slicer to decide which measure to show. This might look something like:
Now, if you create a visual using this new measure, it will show the value of the measure selected in the slicer, and hide the other measures.
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |