Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AlanP514
Post Patron
Post Patron

Fetching one value from calculated column

Hai All, I Am new Dax, Please help me

Is Graduating = if ('Demo Log'[Is Active ]="Yes" && 'Demo'[Initiative Type] = "Sprint", "YES","NO")

From the above equation denoting To "YES" and "NO"  values.

From the above equation, I want to create a calculated column only with a "YES" Value.
Ie. From  this specific Calculation, I only want to fetch "YES" Values

1 ACCEPTED SOLUTION

You would use a filter for that. You can choose visual level, page level, report level filters or you can create a calculated table.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Do you want to change the formula ?  In that case you can omit the ,"No" part, it is optional

 

Or do you want to filter your table for rows that evaluate to "Yes" ?

only yes

You would use a filter for that. You can choose visual level, page level, report level filters or you can create a calculated table.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.