Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi everyone!
I'm having some problem, with writing formula.
I have this in matrix:
Where Company and Week/Year are Columns, that cant be pivoted, and Value is some Measure:
BIAS_W_12 = IFERROR((SUM('DPA BIAS'[Final CDP W-12])-SUM('DPA BIAS'[Order Quantity]))/SUM('DPA BIAS'[Final CDP W-12])*100;0)
I want to make a Column for every of this weeks where i will have a value of a measure, when week is ok, 0 otherwise.
Can you help me how to do it?
I'm stuck for a few hours now.
Thank You
Radkos
Solved! Go to Solution.
@Anonymous,
You may try the following pattern.
Measure = VAR w = SELECTEDVALUE ( Table1[Week/Year] ) RETURN IF ( w = 12, 1, 0 )
@Anonymous,
You may try the following pattern.
Measure = VAR w = SELECTEDVALUE ( Table1[Week/Year] ) RETURN IF ( w = 12, 1, 0 )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 75 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |