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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
leela77
Frequent Visitor

filtering with a dim table that is not directly related to the fact table

Hello.

leela77_0-1700647530827.png

I would like to COUNTROWS in the fact_ga_sessions table, however, I need filters from dim_ga_page, dim_ga_cart and dim_ga_session. 
It looks like I need FILTER, RELATEDTABLE, CALCULATETABLE(?), however, I am not quite sure how.
I would appreciated any help on this one. 

Note: A relationship could be created between dim_ga_page and fact_ga_session, however, it'll break other measures, that's already in there. I explicitly look for a DAX measure solution. 

1 REPLY 1
Rupak_bi
Super User
Super User

Use countX function. it will work even without relationship as well. else share sample data.



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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