The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, all please help me, how to write Dax for this situation,
I have 4 slicers created from field parameter
Currently, when I did not select anything from that slicer it shows all data, I really want it to display nothing,
For example, if I select slicer1,3,4 but slicer 2not select
the graph should show data from slicers 1,3,4
thank you in advance
Best Regard
firstch
@firstch , Create a meausre like
Int(calculate(isfiltered(Table[Column1]), allselected()) )
or
Int(calculate(isfiltered(Table[Column1]) || isfiltered(Table[Column2]), allselected()) )
add other columns, change Or || with And &&, if needed
Then use the above measure in visual level filter and filter for value =1
Hi @amitchandak
It doesn't work, i filter only slicer 1 but data from slicer 2,3,4 still show. is there another solution?
Best Regard
firstch
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |