The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I want to use a conditional expression, if a value does not exist in a column then return true otherwise return false,
what I currently have:
SWITCH(
TRUE(),
ID = 2 && //need to include an expression here, "value1",
ID = 3, "value2",
ID = 4, "value3",
0
)
Solved! Go to Solution.
Hi @akhaliq7
The Dax function that checks if the value exists or blank :
If (isblank(your column)
https://dax.guide/isblank/
For more detailed suggestion
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @akhaliq7
The Dax function that checks if the value exists or blank :
If (isblank(your column)
https://dax.guide/isblank/
For more detailed suggestion
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly