Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a column with multiple dates ranging from 2017-2018, and one column for revenue. My goal is to create one line for 2017 revenue and one line for 2018 revenue.
How do I do this?
Solved! Go to Solution.
Hi @malonl1,
Do you want to create a line chart like below?
If that is your output, you could create two measure to calculate the revenue for 2017 and 2018.
2017 Revenue = CALCULATE(SUM('Table1'[Revenue]),FILTER('Table1',YEAR('Table1'[Date])=2017)) 2018 Revenue = CALCULATE(SUM('Table1'[Revenue]),FILTER('Table1',YEAR('Table1'[Date])=2018))
More details, you could have a reference of the attachment below.
If you need additional help, please share some data sample and your desired output.
Best Regards,
Cherry
Hi @malonl1,
Do you want to create a line chart like below?
If that is your output, you could create two measure to calculate the revenue for 2017 and 2018.
2017 Revenue = CALCULATE(SUM('Table1'[Revenue]),FILTER('Table1',YEAR('Table1'[Date])=2017)) 2018 Revenue = CALCULATE(SUM('Table1'[Revenue]),FILTER('Table1',YEAR('Table1'[Date])=2018))
More details, you could have a reference of the attachment below.
If you need additional help, please share some data sample and your desired output.
Best Regards,
Cherry
User | Count |
---|---|
98 | |
90 | |
78 | |
72 | |
65 |
User | Count |
---|---|
114 | |
97 | |
95 | |
68 | |
65 |