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
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
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.