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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Mond_Ed07
Frequent Visitor

Status values for each application ID

Hi Fabric Community, its me again asking for help and Im fairly new to using Power BI.

I have columns named NewValue and Application ID

If the NewValue column has "DENIED" or "LOAN PAID OUT" values, I need a new column that says "DENIED" or "LOAN PAID OUT" for that certain Application ID.

Mond_Ed07_1-1719498740810.png

I want the result to be like this one but I still don't have the knowledge to do so. 



Any input is very much appreciated. 

Thanks Fabric Community.

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Mond_Ed07 

Pls try this to create a column

 

Column =
VAR _LPO=MAXX(FILTER('Table','Table'[Application ID]=EARLIER('Table'[Application ID])&&'Table'[NewValue]="LOAN PAID OUT"),'Table'[NewValue])
VAR _d=MAXX(FILTER('Table','Table'[Application ID]=EARLIER('Table'[Application ID])&&'Table'[NewValue]="DENIED"),'Table'[NewValue])
return if(_LPO<>"","LOAN PAID OUT", if(_d<>"","DENIED"))
 
11.png




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Mond_Ed07 

 

Please try this:

Here I create a set of sample:

vzhengdxumsft_0-1719539114886.png

Then add a measure:

MEASURE =
VAR _vtable =
    FILTER (
        ALLSELECTED ( 'Table' ),
        'Table'[NewValue] IN { "LOAN PAID OUT", "DENIED" }
    )
RETURN
    CONCATENATEX (
        FILTER ( _vtable, [Application ID] = SELECTEDVALUE ( 'Table'[Application ID] ) ),
        [NewValue]
    )

 The result is as follow:

vzhengdxumsft_1-1719539136335.png

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the help. I really appreciate it.

ryan_mayu
Super User
Super User

@Mond_Ed07 

Pls try this to create a column

 

Column =
VAR _LPO=MAXX(FILTER('Table','Table'[Application ID]=EARLIER('Table'[Application ID])&&'Table'[NewValue]="LOAN PAID OUT"),'Table'[NewValue])
VAR _d=MAXX(FILTER('Table','Table'[Application ID]=EARLIER('Table'[Application ID])&&'Table'[NewValue]="DENIED"),'Table'[NewValue])
return if(_LPO<>"","LOAN PAID OUT", if(_d<>"","DENIED"))
 
11.png




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks! This is super helpful. I accepted this as a solution.

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors