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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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