Forum Discussion
Anonymous
7 years agoNot applicable
Combine 2 total value in Line Chart
Hello, I'm newbie in Power BI. I'm learning Power BI within 1 week and starting to practice more with some charts. Now, I have the problem with the line chart. I have the database which prese...
TeigeGao
7 years agoSolution Sage
Hi Anonymous ,
We can create two measures to represent year 2018 and 2019 like below:
Measure2018 = CALCULATE(COUNTROWS(Data),YEAR(Data[Date])= 2018) Measure2019 = CALCULATE(COUNTROWS(Data),YEAR(Data[Date])= 2019)
Then drag these two measure to value, the result will like below:
Best Regards,
Teige
Anonymous
7 years agoNot applicable
Thank you a lot.
I will try