Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance 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?
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |
User | Count |
---|---|
16 | |
14 | |
8 | |
6 | |
6 |