Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi!
Here's a simplified version of my issue.
I have a table displayed that shows:
DATE // Value for that date // (Value - Average)/Average
I wanted to only show dates where the 3rd column is over, let's say, 15%. I added the filter to the table and it works fine.
The thing is that now the 3rd column doesn't display the original values. It now displays the values calculated with a new average, that only considers the dates that passed the 15% filter.
Is there anyway I can prevent that?
Please, be aware I cannot use ALL because I do have a date slicer so the user can determine a period, so the AVG should be calculated by the period determined by that slicer.
Thank you!
Gustavo
@Anonymous , Assume you have measure value
Measure =
Var _total = calculate([Value], allselected()) //if value if of avg type
// Or Use // calculate(averageX(values('Date'[Date]), [Value]) ,allselected())
return
divide([Value] -_total, _total)
That's actually how I currently have the measures. Here's the ones I have:
Duration - Average = calculate(AVERAGE('EOD Results'[Duration PBI]), ALLSELECTED('EOD Results'))
Duration - Absolute Deviation = ABS(sum('EOD Results'[Duration PBI]) - 'Calculations'[Duration - Average])
Duration - Abs Dev / Avg = 'Calculations'[Duration - Absolute Deviation]/[Duration - Average]
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |