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.
Hi,
Am facing an issue with the DAX function CountRows as it is giving incorrect value.
The table has only 2 rows but CountRows DAX gives 4 rows.
Solved! Go to Solution.
Hi @Anonymous ,
So is your issue solved now?If so,could you pls mark the reply as answered to close it?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
The issue was that there were duplication in the data and these duplicated records are not shown in the table visual be default. Adding an index column to the table resolved my issue to showl all the duplicated records in the table visual.
Hi @Anonymous ,
So is your issue solved now?If so,could you pls mark the reply as answered to close it?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@Anonymous
Can you share the formula that you use to count the rows
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The formula is COUNTROWS(JAMVATOPTEMP) where JAMVATOPTEMP is the table name.
This is very straightforward as am not doing any transformation on the table. I just load the table and add all the columns to the table visual. When i export the data from the table visual to excel i get only 2 rows,but the DAX gives me 4 rows
Hi @Anonymous
This is not much clear. Need to understand what is the data in the background and what are the filters applied.
Can you share your pbix file (after removing sensitive data)
Regards,
Sayali
Proud to be a Super User!
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 |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |