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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Chanise89
Helper I
Helper I

Custom output based on table values

I need help with this one.

I have a requirement that says if a "User ID" has data in the "Tableau Report" column then return "Approved" 

If it doesnt have data then return "Not Approved"

 

I seemed to have figured out the "Not Approved' part but for some reason, I can't get "Approved" figured out.

Please Help

 

This is my DAX

2Box Title = SWITCH(
    TRUE(),
    SELECTEDVALUE(MetricInsights[User ID]) = VALUES('tableau_groups'[Tableau Report]),"Approved","Not Approved")
 

Chanise89_0-1689296832745.pngChanise89_1-1689296864923.png

 

1 ACCEPTED SOLUTION
Kishore_KVN
Solution Sage
Solution Sage

Hello @Chanise89 ,

Please note you are varifying with two different columns if you want to verify like that then you may have to create count of tableau report column or you should have userID in tableau report table as well otherwise it is like you will be comparing apples with oranges. 

 

If you want to proceed with count then create a new column like 
Count of Tableau Report = COUNTA(Tableau Report Columns)

Then write your measure 

2Box Title = If(Count of Tableau Report = Blank(),"Not Approved","Approved")

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

View solution in original post

2 REPLIES 2
Kishore_KVN
Solution Sage
Solution Sage

Hello @Chanise89 ,

Please note you are varifying with two different columns if you want to verify like that then you may have to create count of tableau report column or you should have userID in tableau report table as well otherwise it is like you will be comparing apples with oranges. 

 

If you want to proceed with count then create a new column like 
Count of Tableau Report = COUNTA(Tableau Report Columns)

Then write your measure 

2Box Title = If(Count of Tableau Report = Blank(),"Not Approved","Approved")

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Thank you so much! This is exactly what I needed

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.