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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Experts,
Iam using below native sql in my desktop power file, this code is used at the slicer or global filter component
CASE WHEN to_varchar(to_varchar((v_FLAG = 'N')=false)='N') and to_varchar(to_varchar((v_FLAG = 'N')=null)='N') THEN 'N'
else to_varchar((REL_TYPE = 'GUARD')=true) END
My slicer values look like below:
Expected Result: above code both (null and false) should show 'N' and 'Y' instead (true) value
Appreciate any quick Help, Thank you
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |