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
Anonymous
Not applicable

Measure/Dax for given Condition

I Have a table with columns as listed and need to find the condition as if the Median > Partner value--> Present the Median, else if the Avg > Partner value --> Present the Avg otherwise preset Max(any Column) of selected vorgMpnId in slicer from the table..

 

 

the vorgnMpnId need to be given in slicer and once we select the id it should display above given condition for any particular column data and need to except vornMpnid and cluster in the DAX to not filter with these 2 values...

 

Any suggestions..

 

Recomm.PNG

2 REPLIES 2
lbendlin
Super User
Super User

Please provide sample data in usable format (not as a picture - try adding as a table).

Anonymous
Not applicable

Hey Please Find the Sample data in Tabular Format-

 

 

VorgMpidPartner PresenceTotal Active CompPart Pres SolutionPart Pres IndustrySolution Pub partPart Handling in solPlat Handled PartNormalized score Cluster
101463723501420.4230
101463810130741.2330
101464003280000.2311
101464232256010.4551

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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