Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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)
| User | Count |
|---|---|
| 12 | |
| 6 | |
| 6 | |
| 5 | |
| 5 |