Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a CatsColars table from which I have created a calulated table visual that groups cats and collars to show how many cats have the same number of collars. e.g. 2 cats have 4 colars, 1 cat has 3 colars,etc.
By clicking on the number of colars in the colar column of the calculated table visual, i want to filter the CatsColars table to only show those cats with the clicked on number of colars.
e.g. if i click on the "2" in the colars column of the calculated table visual the measure against the CatsColars table should show a 1 for the 4 rows belonging to the two cats with 2 colars; Link to pbix file
How do i get the measure to correctly return the 1 and 0 so that i can filter the visual? thanks in advance.
Solved! Go to Solution.
hi @924pbi ,
Create a new table with colar count for each Cat and Use Cat name in this new table to filter main table.
-Keep original table CatColars
-Create new table and join this table to CatColars on column [Cat] only in Datamodel.
-Create a measure
Meow = COUNTX( 'Table', 'Table'[Cat])
Let me know if any questions.
@talespin awesome, now i also understand how you have maintained lineage. thanks heap
You're welcome.
Hi @talespin, thanks for reviewing the problem. Is there an alternative way to get a simiar outcome, if not that way? Also not sure i understand completely given i am passing values that do the fitlering and that the count of rows effected is returned correctly. Also, isn't lineage about both tables being derived from the same physical source table, which it is, and the same data type is passed becuase it comes from the same table?
hi @924pbi ,
Create a new table with colar count for each Cat and Use Cat name in this new table to filter main table.
-Keep original table CatColars
-Create new table and join this table to CatColars on column [Cat] only in Datamodel.
-Create a measure
Meow = COUNTX( 'Table', 'Table'[Cat])
Let me know if any questions.
Hi @924pbi ,
I do not think it will work, Your calculated table can't filter the actual table.
I think its due to Data Lineage, once Data Lineage is broken you can't filter one table with another. Your Main table is text values and Calculated table has numbers(Its not just about data type) but Data Lineage as well.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
12 | |
11 | |
10 | |
9 |