The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
How should we compare two columns containing null or 0 value.
Unable to properly do conditional formating after that
logic used : if column 2< column1,0,1)
Here we are comparing if 0.97< 0 ( if column2 < Column 1),column2 should be green but we are still getting red.
It should be green as 0.97 greater than 0
Solved! Go to Solution.
Hi @Suhil ,
It works on my device.
Column = IF([Column2]<[Column1],"red","green")
If possible, please provide more details about your sample data and expected results.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Suhil Try:
IF([Column2] < [Column1]+0, ...
Hi @Suhil ,
It works on my device.
Column = IF([Column2]<[Column1],"red","green")
If possible, please provide more details about your sample data and expected results.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you stephen.
I Have another query. Is it possible to add 4 differentcolumns in y -axis?