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
Diimoo1
New Member

Filter By Group

I have data that looks like this :

NameGroup 1Group 2Group 3
Joe 1 
Moe11 
King1 1
Penn  1
Zhee1  

 

And would like create a new flag measeure like this  ( returns first  empty row by group):

 

NameGroup 1Group 2Group 3Flag
Joe 1 Group 1
Moe11 Group 3
King1 1Group 2
Penn  1Group 1
Zhee1  Group 2

 

 

Thanks for your help

1 ACCEPTED SOLUTION

Hi @Diimoo1

Formula below will achieve your requirement.

Measure = IF(ISBLANK(MAX([Group 1])),"Group1",IF(ISBLANK(MAX([Group 2])),"Group2",IF(ISBLANK(MAX([Group 3])),"Group3")))

4.png

 

Best Regards

Maggie

View solution in original post

3 REPLIES 3
Diimoo1
New Member

I have data looks like this:

NameGroup 1Group 2Group 3
Joe 1 
Moe11 
King1 1
Penn  1
Zhee1  

 

Would like create flag column/measure the return the first blank celll: Result will look like this:

NameGroup 1Group 2Group 3Flag
Joe 1 Group 1
Moe11 Group 3
King1 1Group 2
Penn  1Group 1
Zhee1  

Group 

2

 

I tried to capture by filtering but no luck. Please see if you can be help on this Dii

Hi @Diimoo1

Formula below will achieve your requirement.

Measure = IF(ISBLANK(MAX([Group 1])),"Group1",IF(ISBLANK(MAX([Group 2])),"Group2",IF(ISBLANK(MAX([Group 3])),"Group3")))

4.png

 

Best Regards

Maggie

Thanks Maggie..That works

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.