Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I am looking to create a Bar & Line chart displaying Sales This Year against Sales Last Year as bars with a line displaying sales for a fixed year of 2016.
I can easily get sales this year and last year but how do i create a measure that will always display 2016 data for my line?
Any help appreciated.
Solved! Go to Solution.
Sales_2016 = CALCULATE(sales,FILTER(Table;Table[date].[Year]=2016))
Sales_2016 = CALCULATE(sales,FILTER(Table;Table[date].[Year]=2016))
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
104 | |
98 | |
97 | |
38 | |
37 |
User | Count |
---|---|
153 | |
122 | |
75 | |
73 | |
64 |