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.
Hy everyone,
I have this very simple table:
| YEAR | BRAND | VALUE | DATA TYPE |
| 2019 | AA | 172 | ACT+FRC |
| 2019 | AA | 188 | BDG |
| 2020 | AA | 131,5 | ACT+FRC |
| 2020 | AA | 189 | BDG |
| 2021 | AA | 167 | BDG |
| 2021 | AA | 197,5 | ACT+FRC |
| 2022 | AA | 204 | BDG |
| 2022 | BB | 2 | ACT+FRC |
| 2022 | AA | 206,5 | ACT+FRC |
| 2023 | AA | 226 | ACT+FRC |
| 2023 | AA | 244 | BDG |
| 2023 | BB | 2 | BDG |
| 2024 | BB | 2 | BDG |
| 2024 | AA | 184 | ACT+FRC |
| 2024 | AA | 226,5 | BDG |
| 2025 | CC | 347 | BDG |
| 2025 | CC | 223,5 | BDG |
| 2025 | BB | 2 | BDG |
| 2025 | AA | 199,5 | ACT+FRC |
| 2025 | AA | 224 | BDG |
| 2025 | AA | 230 | BDG |
| 2026 | AA | 209,5 | BDG |
| 2026 | CC | 325 | BDG |
What i need to do, is showing all the "BDG" values even if "ACT+FRC" value is filtered.
The formula that I'm using is really simple and it is the following:
CALCULATE( SUM('Table'[VALUE]), 'Table'[DATA TYPE] = "BDG", ALL('Table'[DATA TYPE]) )
Solved! Go to Solution.
Hi @planc7 ,
This occurs because brands AA and BB have some rows with the Data Type equal to "ACT+FRC," which is why they appear in the results. On the other hand, brand CC has no rows with the Data Type "ACT+FRC," so it was excluded.
The ALL function is working correctly; when using ALL in DAX, it removes any filters applied to a specific column or table.
My question is, why are you filtering only "ACT+FRC" if you want to see both Data Types?
To learn more about the ALL function, click here
Hi @planc7 ,
I recommend using this DAX formula and then disconnecting the slicer from the matrix visual directly.
CALCULATE(SUM('Table'[VALUE]),'Table'[DATA TYPE] = "BDG")
Best Regards,
Bof
Hi @planc7 ,
This occurs because brands AA and BB have some rows with the Data Type equal to "ACT+FRC," which is why they appear in the results. On the other hand, brand CC has no rows with the Data Type "ACT+FRC," so it was excluded.
The ALL function is working correctly; when using ALL in DAX, it removes any filters applied to a specific column or table.
My question is, why are you filtering only "ACT+FRC" if you want to see both Data Types?
To learn more about the ALL function, click here
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 |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |