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
antlufc
Frequent Visitor

Filter Tbale Using Max and 2 other conditions

HI, 

 

I have a table as per image below and attached excel where i need to isolate the row with the max version and be able to refer to the pipeline_journey_id in a table / matrix.  It needs to be based on total_recycled_mql_events > 0 and the max pipeline_journey_version but be able to relate back to the pipeline_journey_id. There is already a measure created for total_recycled_mql_events which is below, so that can be used in the measure also. 


# Recycled MQL's =
VAR __result =
    SUM ( fact_pipeline_events[total_recycled_mql_events] )
RETURN
    __result


The table is below

antlufc_0-1685006924397.png

 

And the result i would expect to see the below results

antlufc_1-1685011656395.png

 

 

 

2 REPLIES 2
some_bih
Super User
Super User

Hi  @antlufc to calculate measure for Max, you could use: 

Sheet6 should be adjusted to your table. I hope this help.

M_max_version =
    MAXX(Sheet6,Sheet6[verstion])




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

Proud to be a Super User!






some_bih
Super User
Super User

Hi  @antlufc to calculate measure for Max, you could use: 

Sheet6 should be adjusted to your table. I hope this help.

M_max_version =
    MAXX(Sheet6,Sheet6[verstion])




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

Proud to be a Super User!






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.

Top Solution Authors