Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

how to visualize a change of status from two tables

I'm hoping somebody can point me in the right direction as to which visualization I should be using assuming my task at hand is possible.  I have two data tables:

 

1st data table (A) contains a call reference # and the reason for the call.

2nd data table (B) contains the same reference # and the updated reason for the phone call (call status change).

 

Is it possible to find out the percentage of phone calls from table A that gets a status change in table B?  If so, which visualation would I be using?

 

Any assistance would be appreciated.  Thank you!

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Please reference to this thread to merge TableA and TableB to a new one using LEFT Outer. Then use the formula below to get expected result.

In Query Editor, click on the TableA, then select “Merge Queries as New” to merge the two tables, then expand the TableB column in the merged table. It doesn’t impact on your current tables using the merge query feature to get a new table only including the call reference # in both TableA and TableB, which shows all calls from  table A that gets a status change in table B.

1.PNG

So create a measure to get the percentage of phone calls from table A that gets a status change in table B, and create a card visual to display expected result.

Percentage = DIVIDE(COUNTROWS(Merge1),COUNTA(TableA[reference #]))

1.PNG

Best Regards,
Angelia

View solution in original post

3 REPLIES 3
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Please reference to this thread to merge TableA and TableB to a new one using LEFT Outer. Then use the formula below to get expected result.

In Query Editor, click on the TableA, then select “Merge Queries as New” to merge the two tables, then expand the TableB column in the merged table. It doesn’t impact on your current tables using the merge query feature to get a new table only including the call reference # in both TableA and TableB, which shows all calls from  table A that gets a status change in table B.

1.PNG

So create a measure to get the percentage of phone calls from table A that gets a status change in table B, and create a card visual to display expected result.

Percentage = DIVIDE(COUNTROWS(Merge1),COUNTA(TableA[reference #]))

1.PNG

Best Regards,
Angelia

Anonymous
Not applicable

Thank you v-huizhn-msft for your help!  In your post, you suggested that I use a card visual to present the data.  Would it be possible to use any other visualization (i.e. bar graph, or any other)?  I tried several visualizations but wasn't successful.

Hi @Anonymous,

We only display the measure and use a single field in card visual. If you use other visuals, you add another field besides the measure, the measure will change as the context of another field.

Best Regards,
Angelia

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.