This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi
I want to be able to create Virtual Table which is dependant on a slicer.
If Region slicer is...
being used: Return the entire table
NOT being used: Return a Summarized version of table (without the region field)
Entire table
CustAlias |Region |Month |Value
| Cust 01 | |Region1 | | 30/06/2022 | | 1350 |
| Cust 01 | |Region1 | | 30/06/2023 | | 1550 |
| Cust 01 | |Region2 | | 30/06/2022 | | 1350 |
| Cust 01 | |Region2 | | 30/06/2023 | | 1430 |
| Cust 01 | |Region3 | | 30/06/2022 | | 1650 |
| Cust 01 | |Region3 | | 30/06/2023 | | 1500 |
Summarized version of table (with region field removed)
| Alias | Month | Value |
| Cust 01 | | 30/06/2022 | | 4350 |
| Cust 01 | | 30/06/2023 | | 4480 |
I tried using....
IF ISFILTERED(DateTable[Region])
Do this... <Return entire table>
Else... <Return Summazied table> [Without the Region Field]
But IF will only return a Scaler value, and not a table.
Other posts have said you cannot return a table, but you can create a virtual table to then calc a measure value, but I 've not been able to make it work yet! 😫
Desired Output:
Where Region slicer is being used:
| Measure1 | Measure2 | |||
| Region | |30/06/2022 | |30/06/2023 | |ARR Delta | |Analysis |
| Region1 | |1350 | |1550 | |200 | |Upsell |
| Region2 | |1350 | |1430 | |80 | |Upsell |
| Region3 | |1650 | |1500 | |-150 | |Downsell |
| Total | |4350 | |4480 | |130 | |Upsell |
Where Region slicer is NOT being used:
| |Measure1 | |Measure2 | |||
| Alias | |30/06/2022 | |30/06/2023 | |ARR Delta | |Analysis |
| Cust 01 | |4350 | |4480 | |130 | |Upsell |
Measure values will change dependant on if they are calculated on the entire table OR the summarized table.
Any help would really be appreciated.
Thx 😁
Can anybody please help on this query?
Any help would be very much appreciated.
Thx 🙂
Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 25 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 26 | |
| 20 | |
| 20 |