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
@v-yalanwu-msft @amitchandak have help me on below post :-
https://community.powerbi.com/t5/Desktop/How-to-add-period-YTD-table/m-p/1828677#M709125
Now when user click on 2016 , it still display May 2021
Solved! Go to Solution.
@admin11
You are filtering the Year in the date. try change it to [Date].[Year]
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@admin11
You are filtering the Year in the date. try change it to [Date].[Year]
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Kindly share the PBI file , so that i can understand , how to change the Year field for select to Date.Year
Paul
@admin11 , Try like
YTD DATE =
var _max = MAX('Date'[Date])
var _min = MIN('Date'[Date])
var _a=format(_min, "MMM-YYYY") & " to " & format(_max, "MMM-YYYY") & " SALES BY BRAND_C"
return IF(ISFILTERED('Date'[Date]) || ISFILTERED('Date'[Year]) ,_a,format(TODAY(), "MMM-YYYY"))
You need more ISFILTERED based on the slicer you want to skip today
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 |
---|---|
108 | |
106 | |
87 | |
77 | |
69 |
User | Count |
---|---|
124 | |
112 | |
94 | |
84 | |
75 |