Forum Discussion
Changlin
4 years agoFrequent Visitor
Merged Table data not displaying data correctly in chart
Hi, I have merged 2 tables A and B with left join in Power BI. Table A has 355 rows (Contains ID, Name columns) and Table B (Contains ID, State and Created Date columns) has thousands rows. I got...
- 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.
Anonymous
4 years agoNot applicable
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
4 years agoFrequent Visitor
Hi Eyelyn,
Thanks for your answer, your query helps me solve the problem. I have marked you answer as solution.
Have a good day,
Changlin