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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi good morning can anyone help me correct my dax on my PQ custom column. what i required is IF the column %RO s blank then i want the value of column Hours but if not blank multiply column hours and %RO.
if[#"% RO"] = blank(),[hours] else [hours] *[#"% RO"]
Thank you
Solved! Go to Solution.
Please indicate if you want Power Query or DAX. You cannot mix them.
Power Query:
if [#"% RO"] = null then [hours] else [hours] *[#"% RO"]
DAX:
IF( ISBLANK([% RO]),[hours],[hours] *[% RO])
Or simplified
[hours]*COALESCE([% RO],1)
Please indicate if you want Power Query or DAX. You cannot mix them.
Power Query:
if [#"% RO"] = null then [hours] else [hours] *[#"% RO"]
DAX:
IF( ISBLANK([% RO]),[hours],[hours] *[% RO])
Or simplified
[hours]*COALESCE([% RO],1)
Vote for your favorite vizzies from the Power BI World Championship submissions!
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 |
|---|---|
| 12 | |
| 11 | |
| 7 | |
| 7 | |
| 6 |