Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi all,
I am trying to count the status by regions using the following measure, but no results are showing?
Measure =
CALCULATE (
COUNTROWS (
CALCULATETABLE (
VALUES(TableP[Region]),
FILTER (
TableJ,
TableJ[Status] = "Complete" && TableJ[Status] = "Pending")
)
)
)
Thought of merging two tables, but it resulted in a duplicate index (each index will have multiple rows) and PBI does not like it.
Any help with Dax and any other tips to consider for the model, please?
Thanks
H
Solved! Go to Solution.
@H_insight , Try like
calculate (
distinctcount(TableP[Region]),
FILTER (
TableJ,
TableJ[Status] = "Complete" && TableJ[Status] = "Pending")
)
or
calculate (
countrows(Summarize(TableP, TableP[Region],TableJ[Status])),
FILTER (
TableJ,
TableJ[Status] = "Complete" && TableJ[Status] = "Pending")
)
@H_insight , Try like
calculate (
distinctcount(TableP[Region]),
FILTER (
TableJ,
TableJ[Status] = "Complete" && TableJ[Status] = "Pending")
)
or
calculate (
countrows(Summarize(TableP, TableP[Region],TableJ[Status])),
FILTER (
TableJ,
TableJ[Status] = "Complete" && TableJ[Status] = "Pending")
)
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
19 | |
11 | |
10 | |
8 | |
8 |
User | Count |
---|---|
20 | |
13 | |
8 | |
7 | |
6 |