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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

How to create a card that outputs a count of the number of rows in the table visual?

So I have table visual that gets it's columns from 3 different tables.

Say I have 3 tables: Pokemon, Cities, Moves.

 

I have a table visual that takes the Pokemon[Name], Cities[Region], and Moves[Type] columns into it.

It would look something like this:

NameRegionType
PikachuKantoElectric
TorchicHoennFire
ChikoritaJhotoGrass

 

Say that this is all the data that I have displayed on the visual, I would want to have a card visual that displays the total number of rows that is currently displayed say: 3 in this case.

 

I tried all the other methods about creating a virtual table and countrow(summarize) but none of them work for me.

In fact I even have issues creating a table with the columns I already have.

Sorry if this sounds newbie, I'm relatively new to Power BI.

 

Thansk for all the inputs!

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

countrows(summarize(Pokemon , Pokemon[Name], Cities[Region], Moves[Type] ))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

The columns are in different datasets. How would I reference them?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors