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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mamabox22
Frequent Visitor

Show Column in List where Max(Date) And a Column has value X

Hello guys,

i am currently working on a Report in PowerBi.

i got a Table which looks like this 

 

mamabox22_0-1646129017047.png

And  i need the following:
I need for latest completed column and where the type starts with "kpatch"  the kuid and where Phase is "reboot pending" the KUID.
So i want a list of KUIDs where these filters apply and i have no clue how i should do that.

May someone give an advice how i can achieve this ?

3 REPLIES 3
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @mamabox22 ,

 

First create a column for getting the "kpatch" characters:

IF(
ISERROR( SEARCH("kpatch", Table[TYPE])
),
" ",
"kpatch"
)

 

Pull the kuid in a table visual and apply the filters from the filter pane on the visual.

 

 

Mark this as a solution, if it anwers your question. Kudos are always appreciated.

Thanks

amitchandak
Super User
Super User

@mamabox22 , based on what I got,

 

A new column like

maxx(filter(Table, [kuid] =earlier([kuid]) && [Phase] = "reboot pending" && search("kpatch",[type],,0) >0 ), [completed])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hey,

this got me a lot closer but still isnt what i am looking for.

Sorry that i am not as specific as i should be.

I try to be as transparent as possible :).
I got multiple databases and i want a full report of my clients.

mamabox22_0-1646149642391.png

This is my Table at the moment.
And i want so see if a Client needs a reboot or not.

I can see that when i filter the KUID in the Table provided above.

What you gave me is the max time if the filters are applied.

So how can i get that to work.

i tried something like that:

if(
maxx(filter('KBSYS KONDUCTOR_TASK', [kuid] =earlier([KUID])),'KBSYS KONDUCTOR_TASK'[COMPLETED]) =
maxx(filter('KBSYS KONDUCTOR_TASK', [kuid] =earlier([KUID]) && [Phase] = "reboot pending" && search("kpatch",[type],,0) >0 ), [completed]),"reboot pending"
)

but when i add the column to the table i get every client duplicate with a reboot pending message, which is false
mamabox22_1-1646149887685.png


Hopefully you can understand me. I am very sorry for my bad english. Tried an translate now.



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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