Forum Discussion
Merged Table data not displaying data correctly in chart
- Anonymous4 years ago
Hi Changlin ,
Please try:
Count = CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'),[State]=MAX('Table'[State]) && [Date]<=MAX('Table'[Date])))Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Changlin very hard to tell, I guess you still have 355 rows in your main table, or has the number of rows increased? Can you share pbix file, and remove sensitive information before sharing. You can share using one drive/google drive.
✨ Follow us on LinkedIn and to our YouTube channel
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
- Changlin4 years agoFrequent Visitor
Hi parry2K,
Thanks for answering, I just found that the number is huge because it sums the ID (which is whole number), so that's a mistake.
I made a simple template table as the following:
The truly problem is how to count rows before each row Date for 2 different states.
For example:
It should looks like this, can I build a query to get this count column?
Thanks,
Changlin