Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello everyone,
Is there a way to count rows within the table chart ? I have a date column coming from calender table and another column (margin) from a Table (Table B) and the rest are from another table (Table A). I want to count rows where margin is >=1000.
Table relationship is :
Calender -> Table A -> Table B (single and one to many)
Please help
I want to get 8 as final answer
Solved! Go to Solution.
Hi @Farhan_Raza
Please try
Count =
COUNTROWS (
FILTER (
SUMMARIZE (
TableB,
Calender[Date],
TableA[PO#],
"@Margin", SUM ( TableB[Margin] )
),
[@Margin] >= 1000
)
)
Hi @Farhan_Raza
Please try
Count =
COUNTROWS (
FILTER (
SUMMARIZE (
TableB,
Calender[Date],
TableA[PO#],
"@Margin", SUM ( TableB[Margin] )
),
[@Margin] >= 1000
)
)
A quick question, suppose the relationship is inactive between Table A & Table B, how do I incorporate within this formula ? Do I have to use USERELATIONSHIP function ?
Thank you so much. I knew it had to do with summarize function but I couldn't remember the format
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 16 | |
| 8 | |
| 7 | |
| 6 | |
| 6 |