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.
Hi All
My below expression the label will display Sales YTD , may i know how to make it dynamic display the year i selected , For example if i select year = 2018 , how to make it display 2018 , instead of alway display Sales YTD :-
Solved! Go to Solution.
You can add something like below
Does it help?
Regards,
Sayali
Proud to be a Super User!
I'm not finding a solution on this thread. I want to do something similar. Have a calculation group for the last four years and instead of the Name of the Calculation Items, I want to display the Max(Date[Year]).
Thus the legend would update if someone changes the slicer. I have created a calculated column in the PBIX file but can't seem to figure out how to use that column in some Expression for the Name.
You can add something like below
Does it help?
Regards,
Sayali
Proud to be a Super User!
You can use a matrix instead of a table.
In Rows you can mention "Customer Name"
In Columns "Year"
In Values = Sales amount
You will get the result you wanted
Regards,
Sayali
If this post helps, then please consider Accept it as the solution to help others find it more quickly.
Proud to be a Super User!
Thank you for your sharing .
I just try it work fine .
But what i need is how to compute YTD vs LYTD. Now i am using stright table , it have no issue.
Paul Yeo
Paul Yeo
Sorry I did not understand.
I see you are getting the measure you require. Is there something missing? Could you please explain more?
Regards,
Sayali
Proud to be a Super User!
Sorry my explanation not so clear.
notice that i only can achieve YTD vs LYTD sales by stright table. For Martix table i am not able to have YTD vs LYTD sales.
Below is my PBI file :-
https://www.dropbox.com/s/lx95lxy4q853wga/PBT_V2021_398_%20TI_SI_SAMPLE%20-%20Copy.pbix?dl=0
Paul
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |