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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Lavishnu
Frequent Visitor

Need table visual row count using field parameter value selection

Hi All,

 

I have a Table visual on my dashboard, the columns/fields using a field parameter to select columns dynamically in table visual. The number of rows changes dynamically dependent on user choices, and the user can pick any combination of values in field parameters.

 

Example:

In my scenario i have 20 columns the user can pick max 5 combination of values in field parameters.

Columns: Customers, Products, Category, Units, Levels, InStock etc 
If Count when products selected alone
If Counts when products & customer where selected
If counts any columns selected where need summary count which ever values selected

 

Need a row count in Card Visual. How many rows appear in the table visual dependent on field parameter selection?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Lavishnu 

 

Please try this:

First of all, I create a set of sample:

vzhengdxumsft_0-1707875088903.png

Home > transform data

If you want to save the original table, right-click the table and click reference:

vzhengdxumsft_1-1707875287491.png

All select the columns and click the Unpivot Columns.

vzhengdxumsft_3-1707875372311.png

vzhengdxumsft_4-1707875414481.png

Apply&Close.

Add a measure:

Measure 3 = COUNTROWS('Table (2)')

The result is as follow:

vzhengdxumsft_5-1707875470468.png

Best Regards,

Zhengdong Xu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Lavishnu 

 

Please try this:

First of all, I create a set of sample:

vzhengdxumsft_0-1707875088903.png

Home > transform data

If you want to save the original table, right-click the table and click reference:

vzhengdxumsft_1-1707875287491.png

All select the columns and click the Unpivot Columns.

vzhengdxumsft_3-1707875372311.png

vzhengdxumsft_4-1707875414481.png

Apply&Close.

Add a measure:

Measure 3 = COUNTROWS('Table (2)')

The result is as follow:

vzhengdxumsft_5-1707875470468.png

Best Regards,

Zhengdong Xu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.