Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have an average line using the Analytic pane for a measure that I created. I would like to see the average line's data label in a card visual to highlight it. Frankly any more than one line and average line on a visual and it gets too crowded to see the labels. What is the proper DAX to create this? I'm using Visual Studio to do all of my calculations. Right now I have something like this: averagex(all(Calendar[Year], Calendar[Month]), [Measure1]) and when I pull it into a card visual I'm getting a value of 6K not -0.14 so it isn't even close.
Thanks -
Sara
@sbarnhill75 , This like level avg, to either put the measure calculation in averagex or use the lowest id to do that
averagex(Table, [A]/[B]) , where and B are used in the measure
or averagex(Table[ID],{measure])
@amitchandak that solved my formula issue, but the score card is showing infinity instead of the total average. Any ideas?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
25 | |
17 | |
12 | |
12 | |
10 |
User | Count |
---|---|
33 | |
27 | |
16 | |
14 | |
13 |