Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
We are trying to reproduce the following scenario with no sucess:
Thank you in advance and regards,
Adri.
Solved! Go to Solution.
Hi @asaemart,
I try to reproduce your scenario by my sample table below.
I create a new table including flag1 by clicking "New Table" under Modeling on Home page.
Create two measures using the following formula.
ISSELECTED = IF(ISFILTERED(Table3[flag]), VALUES(Table3[flag]),BLANK()) Sales-new = IF(ISBLANK(Table3[ISSELECTED]),CALCULATE(SUM(Table2[sales]),FILTER(Table2,Table2[flag]="flag0")),CALCULATE(SUM(Table2[sales]),FILTER(Table2,Table2[flag]="flag1")))
Create a slicer including flag1, create a table visual shows the information, set the visual filter as the highlighted red line.
Please see the expected result. I shows the flag in table visual, so that you can see it directly. When we not select "flag1" it display all information for "flag0", otherwise, we select "flag0" it display all information for "flag1".
Please download the attachments to test.
Thanks,
Angelia
Hi @asaemart,
I try to reproduce your scenario by my sample table below.
I create a new table including flag1 by clicking "New Table" under Modeling on Home page.
Create two measures using the following formula.
ISSELECTED = IF(ISFILTERED(Table3[flag]), VALUES(Table3[flag]),BLANK()) Sales-new = IF(ISBLANK(Table3[ISSELECTED]),CALCULATE(SUM(Table2[sales]),FILTER(Table2,Table2[flag]="flag0")),CALCULATE(SUM(Table2[sales]),FILTER(Table2,Table2[flag]="flag1")))
Create a slicer including flag1, create a table visual shows the information, set the visual filter as the highlighted red line.
Please see the expected result. I shows the flag in table visual, so that you can see it directly. When we not select "flag1" it display all information for "flag0", otherwise, we select "flag0" it display all information for "flag1".
Please download the attachments to test.
Thanks,
Angelia
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 109 | |
| 47 | |
| 30 | |
| 25 |