The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Average Ticker =
AVERAGEX(
KEEPFILTERS(VALUES('Vol Delta'[UndrlygInstrm])),
CALCULATE(MEDIAN('Vol Delta'[VoltlyVal])))
After that I would like to create the measure that shows me the difference between these two values in the graph
Solved! Go to Solution.
Hi @Anonymous ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure.
Measure =
VAR _1 =
CALCULATE (
MAX ( 'Table'[VALUE] ),
FILTER (
ALL ( 'Table' ),
'Table'[subject] = "B"
&& 'Table'[date] = SELECTEDVALUE ( 'Table'[date] )
)
)
RETURN
_1 - MAX ( 'Table'[VALUE] )
If I have misunderstood your meaning, please provide mor details with your desired and pbix file without privacy inofrmation.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure.
Measure =
VAR _1 =
CALCULATE (
MAX ( 'Table'[VALUE] ),
FILTER (
ALL ( 'Table' ),
'Table'[subject] = "B"
&& 'Table'[date] = SELECTEDVALUE ( 'Table'[date] )
)
)
RETURN
_1 - MAX ( 'Table'[VALUE] )
If I have misunderstood your meaning, please provide mor details with your desired and pbix file without privacy inofrmation.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Well, you could create a measure that does a CALCULATE of that measure with a filter of your legend value and then your other legend value and average the two together. You may also find this helpful as this would be even easier to implement because the original average formula would not include that weird CALCULATE construct.
Better Average per Category - Microsoft Power BI Community
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |