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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to use measure value as static variable in other measure

Hi,

I have calculated the measure of percentile.inc of the variable distribution "VAR_ADJ" as shown here:

"Percentile = PERCENTILE.INC('Table'[VAR_ADJ],0.99)", to obtain the value "1,7934" (dynamic value according to the filters).

If I put the percentile in a visualization table, I obtain the "VAR_ADJ" distribution as values in rows and the percentile (1,7934) in the total row.

What is the correct method in order to obtain a formula, where can I divide the values of my row ALWAYS by the same value (i.e. the PERCENTILE value as fixed)?
And not get a line-by-line division like in the following example (...)

DIVIDE('Table'[VAR_ADJ]/Percentile) --> DIVIDE(2,0476/1,7934) and DIVIDE(2,0338/1,7934) ecc...

and not DIVIDE(2,0476/2,0476) or DIVIDE(2,0338/2,0338) ecc...

6f2634b9-51ca-4cef-bd59-2ba4bd268132.jpg

 

Thanks a lot!

 

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@Anonymous This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors