Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello 🙂
I am very new to PowerBI and facing an issue, that I can't really find online.
I joined some tables together and you can see the result in this example:
I want to have an additional column now, that will count the total amount of "entries" within a group.
For example the total amount of entries of Quat.Verbrauch of the groups formed by QuatId.
So QuatId 1 has 2 entries belonging to its group (1). QuatId 2 has 1 entry, belonging to its group (2) and so forth,
so that the column will look like this:
Result
2
2
1
1
1
Every calculation I tried will end up counting all Rows (5) or distinct rows(4), which is not what I need.
Best wishes!
Solved! Go to Solution.
Hi,@Slevi90
Regarding the issue you raised, my solution is as follows:
1.First I have created the following table and the column names and data are the data you have given:
2.Create calculated column references:
Column = CALCULATE(COUNTROWS('GTable'),FILTER(ALLSELECTED('GTable'),'GTable'[Quat.Quatld]=EARLIER('GTable'[Quat.Quatld])))
3.Here's my final result, which I hope meets your requirements.
Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Please find the attached pbix relevant to the case.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,@Slevi90
Regarding the issue you raised, my solution is as follows:
1.First I have created the following table and the column names and data are the data you have given:
2.Create calculated column references:
Column = CALCULATE(COUNTROWS('GTable'),FILTER(ALLSELECTED('GTable'),'GTable'[Quat.Quatld]=EARLIER('GTable'[Quat.Quatld])))
3.Here's my final result, which I hope meets your requirements.
Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Please find the attached pbix relevant to the case.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |