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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nitish_sharma
New Member

How to display total number on the card visual for records displaying in table visual

Hello all,

 

I am new to Power bi, need your help to calculate the number of rows coming up in table visual.

 

I have 2 datasets with many to many relationship. Table visual contains columns from both datasets. Now I am not able to show the total number of records on the card visual.  Can you please help me out, also the total number should get changed as per the slicer.

 

I have created power bi report with sample data, pls find attached file in below link

Sample pbix 

 

Thanks in advance.

2 REPLIES 2
amitchandak
Super User
Super User

@nitish_sharma , You need to query like

 

countrows(Summarize(Fact, Dim[Col1], dim[Col2], "_1", [Measure], "_2", [Measure]))

@amitchandak, Thanks for reply.

 

I have tried this but it dosen't works. I have tried with SUMMARIZECOLUMNS also, but that too didn't worked.

 

Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.