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.
Hello Community Members
I'm struggling with this DAX, objective is to create a measure to show High and Low data points for total utility consumption per month. The date is coming from the date table which got Date, Year, Month of Year, Quarter of Year, Day of Month as field list.
[Total Utility] is DAX measure.
With this DAX, I'm aiming to achieve 1 against High and Low value by month and then with the help of conditional formatting, I highlight '1' in my Line chart or Clustered Column. But somehow my DAX is not working, Ideally i like to see 1 against the blue circled value., instead I'm only getting 1 for the highest value for the whole selected range for the year.
Tried using MINX / MAXX with ALLSELECTED or SUMMARIZE and ADDCOLUMNS nothing working. My current DAX which is not giving the desired output is below mentioned. Please suggest any tweaks or new DAX.
IF(ELECTRIC=MAXELECTRIC || MAXELECTRIC=MINELECTRIC
Did you want to write
IF(ELECTRIC=MAXELECTRIC || ELECTRIC=MINELECTRIC
? You can also use the IN {} construct if you want.
Thanks @ibendlin
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 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |