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 have a Table visualization that shows customers and revenue with filter of "In Current Year". On the same page, I have a Bar Chart visualization showing revenue over the past 12 months. What I would like is when a user clicks on an individual customer in the Table, the bar chart keeps the "past 12 months" filter while showing data only for that customer. Currently, the bar chart also assumes the "In Current Year" filter when a customer is selected, which I do not want to happen.
Is this possible to achieve?
Solved! Go to Solution.
@AV155 , If current is because of filter or slicer, it will pass the value. Try to create a measure for the current year then it should only pass customer
example
YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))
@AV155 , If current is because of filter or slicer, it will pass the value. Try to create a measure for the current year then it should only pass customer
example
YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))
That makes sense. I should have thought about making measures to accomplish this. Thanks!!
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 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |