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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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