Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have a table of Group IDs that has columns from various tables. There are slicers on the page that affect this table visual, as well as measures that further filter the table.
I want to get the count of rows for this table, but I am unsure of how to do this. If I use a basic count, I only get the count of IDs based on the slicers that are on the page. I want to also have the count include the measures that are filtering the page. I get the correct number of rows in my table and the correct IDs based on the slicer selections on this page and the slicers for the measures on another page, but I can't get the correct count.
Thank you.
Solved! Go to Solution.
Hi @sheap069 ,
I'm not sure if I understand you correctly. Are you want to count a value based on the slicer on current page along with measures on an other page?
If so you could try to create a measure like below.
Measure 2 = CALCULATE(COUNT('Table'[id]),FILTER('Table',SELECTEDVALUE('Table'[year])='Table'[year]&&[Measure]=1))
Here's my sample data and result.
Measure = IF(SELECTEDVALUE('Table'[value])>30,1,0)
Best Regards,
Jay
Hi @sheap069 ,
I'm not sure if I understand you correctly. Are you want to count a value based on the slicer on current page along with measures on an other page?
If so you could try to create a measure like below.
Measure 2 = CALCULATE(COUNT('Table'[id]),FILTER('Table',SELECTEDVALUE('Table'[year])='Table'[year]&&[Measure]=1))
Here's my sample data and result.
Measure = IF(SELECTEDVALUE('Table'[value])>30,1,0)
Best Regards,
Jay
what is the definition of what you are trying to count exactly. What is contained in the table that you want? Can you provide some examples of where the count is not working for you. Visuals are useful, data even better.
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!