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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tannhq
Helper I
Helper I

Count rows in table visual with Field Parameters

Hello everyone, 

I have a question.
Before that, I can use the COUNTROWS and SUMMARIZECOLUMNS to caculate the number of rows visible in the visual table.
But now we apply Field parameters, how can we know.

Code to caculate rows before.
No of Raw Table =
COUNTROWS (
SUMMARIZECOLUMNS (
'Product'[Franchise],
'Product'[STMS Product Group],
'Product'[STMS Product Name],
'CustomerType'[CHANNEL (groups)],
'Calendar'[Year-Month],
'Region'[REGION],
'Area'[AreaName],
'Customer'[CustomerName],
'Sales'[InvoiceDate],
'Customer'[Code],
"Value", 'Measure'[Value]
)
)
Thanks,

1 ACCEPTED SOLUTION

It's a two step process. Check the article at sqlbi.com . Fields parameters in Power BI - SQLBI

 

Unfortunately it is not (yet) possible to provide lists of columns instead of individual columns

 

lbendlin_0-1653833460885.png

 

View solution in original post

22 REPLIES 22

Thanks for your answer.

Measure above to calcuate no of Visual Table based on the Fixed selected columns, but when we use field parmeters, the seleted columns will be changed and the rows in the Visual Table will be changed as well.

 

I try with perfomace analyzer and copy the dax code to Dax Studio, there are 2 parts of dax code and don't know how to use it with Field Parameters. 

It's a two step process. Check the article at sqlbi.com . Fields parameters in Power BI - SQLBI

 

Unfortunately it is not (yet) possible to provide lists of columns instead of individual columns

 

lbendlin_0-1653833460885.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors