Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 column chart, Columns data is coming form another table.
Please help.
Solved! Go to Solution.
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
Hi @pankajdeol,
I try to reproduce your scenario using the following sample table, but I can't imagine what it looks. Could you please share your resource table?
>>count of ID over the time based on the order type in a combined stack column chart, Columns data is coming form another table.
Which date will be shown in line and please post your data in another table.
Best Regards,
Angelia
Hi @v-huizhn-msft, Thanks for your reply. I am attaching a sample data screenshot . Please see if this can help to understand the data.
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
Thanks Angelia. this works great.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
93 | |
82 | |
70 | |
64 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |