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 All,
I am new to Power BI and I got stuck when trying to create a column with counting rows in table based on category in another table.
I have two tables as shown in below screenshot.
If the itemNumber in table 2 falls in startRange and endRange in table 1 and OPSId=4 and STId=5, count +1
What I want is count rows in each category in table 1.
Any help would be greatly appreciated.
Hi @DLM ,
Is there a relationship between the two tables in a certain field? If there is no relationship, I'm afraid you can't achieve the result you expected.
Could you share the sample .pbix or describe more details?
Please mask any sensitive data before uploading.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |