The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, I am working on a dashboard, where I am using cards visuals. Like below
In the card, C = A-B.
Now, I am facing the scenerio in which based on the filters, sometimes the value of B will blank() which I will be replacing by 0.
In that case of B comes as Blank() (replaced by 0), the C should not come as C = A -B. Like A = 10, B = Blank()/0, C = 10.
In those cas, the C should indicate NA.
I know that I can use if condition. But since I am using if condition already in B to replace blabk() with 0, I am not sure hoe to get this.
Please help.
Thanks!
Solved! Go to Solution.
>>But since I am using if condition already in B to replace blabk() with 0, I am not sure hoe to get this.
please try this,
measure1= if(isblank([measure in card B]),0,[measure in card B])
and put measure1 into Card B
measure2= if(isblank([measure in card B]), "NA", [measure in card B])
and put measure2 into Card C
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
>>But since I am using if condition already in B to replace blabk() with 0, I am not sure hoe to get this.
please try this,
measure1= if(isblank([measure in card B]),0,[measure in card B])
and put measure1 into Card B
measure2= if(isblank([measure in card B]), "NA", [measure in card B])
and put measure2 into Card C
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
@jayasurya_prud , Not very clear
but you need like
c = if([b]=0 || isblank([b]) , blank(), [A] -[b])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
83 | |
75 | |
51 | |
42 |
User | Count |
---|---|
140 | |
113 | |
73 | |
64 | |
62 |