Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am not able to show data label of the last date. I face two problems:
1) the measure does not work as I expect. Both in a table and in a Line chart
table:
Line chart with multiples (here it is supposed to show only markers and data labels of the last dates):
2) I am not able to add a measure to a "Sacondary values" field after I added values to a " Values" field.
Hi @OlegV ,
1. I tried the measure you used on my side, and it worked:
avg = AVERAGE('Table'[Value])
last day avg =
var _max=MAXX(ALL('Table'),[Date])
return CALCULATE([avg],FILTER('Table',[Date]=_max))
2. [Value] to Values field, [avg] measure to Secondary values:
Please provide me with more details about your table and your expect outputs or share me with your pbix file after removing sensitive data.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello, @v-eqin-msft
Thank you for a reply. Yes, I can see that in your example a maesure works.
Please find a link to download a .pbix file with the data and my charts.
https://1drv.ms/u/s!AjD38l7_q5wZgasw9yQRp6Su73cdLQ?e=PhQh1d
or this link, if onedrive does not work
The result I would like to get is
@OlegV Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |