The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello guys,
I have a single Table that records sales transcations for "Products". In my dashboard there are slicers (for "Region" and "Product") that select a certain subset out of my list of transcations. For this subset, I want to check if the rows are selected.
Suppose, I slice for "Product B" and "Europe". Then the column IsSelected would look like in the table below.
How would you create the column IsSelected?
Thanks in advance!
Product | Region | Price | IsSelected |
A | America | 3 | 0 |
A | Europe | 2 | 0 |
B | America | 20 | 0 |
B | Europe | 18 | 1 |
B | Europe | 21 | 1 |
B | Europe | 17 | 1 |
Solved! Go to Solution.
Hi @Anonymous ,
You will need to create two independent slicer tables and use them as slicers.
Hi @Anonymous ,
You will need to create two independent slicer tables and use them as slicers.
@amitchandak This command gives back a column with ones everywhere, although the slicers are connected to the table. This approach doesnt work for me
It still doesn't work. Maybe the following would help me understand and solve it:
I assumed that ALLSELECTED('table') returns the rows of 'table' that are selected by the slicers. Instead, it returns the entire table. It that normal?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |