Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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 November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.