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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Trouble With Nested Ifs

Hi all 

 

I'm trying to do a nested IF to create a new column

If HouseholdstatusNoneEmployed = True but 

HouseholdstatusOneorMoreDepententChildren

HouseholdstatusOnlyOneAdult,

HouseholdstatusWithholdInformation,                                                                                                                                                      HouseHoldNoStatementsApply = False

I would like it to Return the result None Employed in the new column

and this sequence would repeat for HouseholdstatusOneorMoreDepententChildren, HouseholdstatusOnlyOneAdult, etc there can only ever be one true answer. I need to visually show the results in a table and instead of having 5 coulms with True/False if would be great to have 

None Employed,  OneorMoreDepententChildren,  OnlyOneAdult,  WithholdInformation, NoStatementsApply I don't need to worry about false answers

 

many Thanks Ian

 

 

 

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Below is the  4 columns, I want to replace the true with the column header

Capture.PNGand I would like to create a column and the result to look like this, So instead of having 5 columns in the table it just the one and TRUE value will only so once in the above columns

Result.PNG

I hope this helps and thank you for your help, unfortunately we don't have OneDrive set correctly at the moment and I'm dealing with Sensitive data

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.