Join 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!View all the Fabric Data Days sessions on demand. View schedule
I have a table with YTD spend % based on Approved budget & YTD spend % based on original Plan. I want to conditional format both columns based on another column which has some numbers which is a reference column.
Condition 1 - IF YTD spend % based on Approved budget < Reference Column, 1, 0
Condition 2 - IF YTD spend % based on original Plan < Reference Column, 1,0
I wrote DAX as follows:
1.
Solved! Go to Solution.
If possible, use measures instead of calculated columns.
Measure for YTD Spend % Flag Approved Budget:
YTD Spend % Flag Approved Budget Measure =
IF(
MAX('ActionItemDataset bridgeCapitalPlanProject'[Month % for 12(Approved)]) < [Ytd Approved Budget],
1,
0
)
Measure for YTD Spend % Flag Original Plan:
YTD Spend % Flag Original Plan Measure =
IF(
MAX('ActionItemDataset bridgeCapitalPlanProject'[Month % for 12(Original)]) < [Ytd Original Plan],
1,
0
)
Proud to be a Super User! |
|
It worked, Thank you very much.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!