Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
86 | |
82 | |
65 | |
49 |
User | Count |
---|---|
138 | |
110 | |
104 | |
66 | |
64 |