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 I was to calculate maximum of a value on each date , and selected slicers values (load name and Bank_R) on the line chart . Currently it is giving me maximum of all on a bank date but ignoring bank_r and load name values. How to cater that ?
I am using this DAX measure :
Solved! Go to Solution.
Hi @Anonymous -
You can add multiple columns to ALLEXCEPT
maximum_controlled_deviation =
CALCULATE (
MAX ( 'SLA_Reporting_View'[Controlled_Deadline_Deviation_] ),
ALLEXCEPT (
'SLA_Reporting_View',
'SLA_Reporting_View'[Bank_DATO_K_Formatted],
'SLA_Reporting_View'[Bank_R],
'SLA_Reporting_View'[Load Name]
)
)
Alternately you can put the slicer values for Bank_R and Load Name into variables via SELECTEDVALUE, then apply them as filters inside the CALCULATE.
Hope this helps
David
Hi @Anonymous -
You can add multiple columns to ALLEXCEPT
maximum_controlled_deviation =
CALCULATE (
MAX ( 'SLA_Reporting_View'[Controlled_Deadline_Deviation_] ),
ALLEXCEPT (
'SLA_Reporting_View',
'SLA_Reporting_View'[Bank_DATO_K_Formatted],
'SLA_Reporting_View'[Bank_R],
'SLA_Reporting_View'[Load Name]
)
)
Alternately you can put the slicer values for Bank_R and Load Name into variables via SELECTEDVALUE, then apply them as filters inside the CALCULATE.
Hope this helps
David
Putting everything in ALLEXCEPT worked! Cheers & Thanks 🙂
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 |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |