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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.