Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi folks,
Maybe someone could help me out in the following situation. I know that I can calculate Red and Green Sales with
CALCULATE ( [SalesAmount], Sales[Color] in {"Red", "Green"} )
But what if I do not know if this should be Red or Green? I keep values to be filtered in a separate table ColorTable, that consists of a few values to be filtered. Tried these, but they don't seem to work:
CALCULATE ( [SalesAmount], Sales[Color] in { ColorTable[Value] } )
CALCULATE ( [SalesAmount], FILTER ( All(Sales), Sales[Color] in { ColorTable[Value] } ) )
What am I missing here?
Thanks.
Solved! Go to Solution.
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 |
|---|---|
| 62 | |
| 61 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 116 | |
| 38 | |
| 32 | |
| 29 |