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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.