Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello everybody - Hope your having a great day !
Need your expert advise on the below scenario.
I have two table, Table 1 which is the new table extracted today being compared over table 2 extracted yesterday.
Both have the same set of primary key
Table1:
1 Orange
2 Orange
3 Orange
4 Orange
5 Orange
6 Banana
Table2 (yesterdays extract):
1 Orange
2 Orange
3 Orange
4 Orange
5 Orange
6 Banana
7 Orange
8 Orange
9 Banana
10 Banana
My questions is
When i create a matrix view for table1 it only shows the match count , but does not show the count that is not matched . In this case 7,8,9,10. It shows the table as below on KPI
Table 1
Orange 5
Banana 1
Blank 4
I want to show these numbers against the Orange and Banace as they have been closed in table 1 without changing the count, it should be something like the below on KPI
Table 1
Orange 5 (Closed in previous 2)
Banana 1 (Closed in previous 2)
Any help would be great !
Thanks for your time and help !
Solved! Go to Solution.
thanks this helped !
Hello @rpar,
Can you please try this approach:
Closed_Display_Combined =
VAR CurrentCategory = SELECTEDVALUE(Table1[Category])
VAR CurrentCount =
CALCULATE(
COUNTROWS(Table1),
Table1[Category] = CurrentCategory
)
VAR ClosedCount =
CALCULATE(
COUNTROWS(Table2),
Table2[Category] = CurrentCategory,
NOT Table2[PrimaryKey] IN VALUES(Table1[PrimaryKey])
)
RETURN
IF(
ClosedCount > 0,
FORMAT(CurrentCount, "#") & " (Closed in previous " & FORMAT(ClosedCount, "#") & ")",
FORMAT(CurrentCount, "#")
)
Thanks for taking time out @Sahir_Maharaj !
Tried the above query , it still shows the full count of table 1 and not the desired closed count of table 2 (4 in this example). Even if am able to get the output of 4 thats fine .
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.