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.
Afternoon,
I have two tables that provide the same information. However, when I selected a value in the slicer , I want one table to show all infor for what the slicer has selected and the other to show everything except what has been selected on the slicer.
E.g.
Table 1: info for insurer selected
Table 2: Info for all other insurers except what is selected in slicer
Can anyone help me with this issue please?
@Anonymous ,
measure =
var _tab = except( all(Slicer[Slicer]) ,allselected(Slicer[Slicer]) )
return
calculate(sum(Table[Value]), filter(all(Slicer), Slicer[Slicer] in _tab))
when slicer is join to table. But these thing work best when it not joined
not selected measure =
var _tab = except( all(Slicer[Slicer]) ,allselected(Slicer[Slicer]) )
return
calculate(sum(Table[Value]), filter(Table, Table[Slicer] in _tab))
selected measure =
var _tab = allselected(Slicer[Slicer])
return
calculate(sum(Table[Value]), filter(Table, Table[Slicer] in _tab))
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |