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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dglinka
Regular Visitor

Group within a group

My data:

 

Client Update History 
ProductUpdate Dateto Version
A1/1/20162.1
A2/1/20163.1
A3/1/20163.5
A4/1/20163.6
B2/1/20164.7
B3/1/20164.9
B4/1/20165.1
C2/1/20166.2

 

I need to extract the latest (or Current) client version like:

 

ProductClients Current Version
A3.6
B5.1
C6.2

 

not sure if I need to use Group By or Summarize with a Max - help please

 

thank you!

1 REPLY 1
Vvelarde
Community Champion
Community Champion

@dglinka

 

Hello, you can obtain the current version with this :

 

CurrentVersion =
    IF (
        HASONEVALUE ( Table1[Product] ),
        CALCULATE (
            VALUES ( Table1[to Version] ),
            FILTER ( Table1, Table1[Update Date] = MAX ( Table1[Update Date] ) )
        )
    )

 




Lima - Peru

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.