Forum Discussion
Problem when visualizing in line and clustered column chart
- 4 years ago
Hi,
A bit hard to understand.
I think you need or 2 lines, OR a single line that displays the balace between the 2 OR only the 'Line 1' measure below.
You can start by trying:
Line 1 = CALCULATE(COUNTROWS( 'Table'), 'Table'[Mowing] = "Yes")
Line 2 = CALCULATE(COUNTROWS( 'Table'), 'Table'[Mowing] = "No")
OR
Balance =
CALCULATE(COUNTROWS( 'Table'), 'Table'[Mowing] = "Yes") -
CALCULATE(COUNTROWS( 'Table'), 'Table'[Mowing] = "No")
Hi Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
count_group =
COUNTX(FILTER(ALL('Table'),MONTH('Table'[Date])=MONTH(EARLIER('Table'[Date]))),[Id])Flag =
IF(
'Table'[moving]="no",0,
MAXX(ALL('Table'),[count_group]))
2. Placed in Visual, both set to Max.
3. Result:
If you need pbix, please click here.
Problem when visualizing in line and clustered column chart.pbix
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- Anonymous3 years agoNot applicable
Hi Anonymous
I followed the steps but I didn't get the same result as you!
Let me know if there is any problem
thank you,
Salim