Forum Discussion
pankajdeol
9 years agoFrequent Visitor
stacked and column chart
Hello Champs, I have a table containing One column, "ID" and 2nd column, "Order type". Now I want to display 2 lines displaying count of ID over the time based on the order type in a combined stack c...
- 9 years ago
Hi pankajdeol,
You can create two measures using the formulas below.Order Type1=CALCULATE(Counta(Table[OrderType]),FILTER(Table,Table[OrderType]="Order Type1")) Order Type2=CALCULATE(Counta(Table[OrderType]),FILTER(Table,Table[OrderType]="Order Type2"))
Then add two measure above as Line values.
Best Regards,
Angelia
v-huizhn-msft
9 years agoMicrosoft Employee
Hi pankajdeol,
You can create two measures using the formulas below.
Order Type1=CALCULATE(Counta(Table[OrderType]),FILTER(Table,Table[OrderType]="Order Type1")) Order Type2=CALCULATE(Counta(Table[OrderType]),FILTER(Table,Table[OrderType]="Order Type2"))
Then add two measure above as Line values.
Best Regards,
Angelia
pankajdeol
9 years agoFrequent Visitor
Thanks Angelia. this works great.