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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mhorn30
Frequent Visitor

Show data based on a field in another table

I have two tables: Visits and Page Views.

 

A Visit can have 1 or more Page Views.

A Page View is only linked to 1 Visit.

 

The tables are linked via a VisitKey.

 

A Visit will automatially log the "Entry Page" that brough the visitor to the website. (I.e. the table Visist has a column "Entry Page")

 

A Page View can have two types, "Page" or "Form". (I.e. the table "Page View" as a column "Type")

 

For every Page View that is Type=Form, I want to find the "Entry Page" as per the Visit.

 

How can I achieve this? (I know how to do this in SQL, but no idea how to translate this to DAX or to filters in Power BI)

1 ACCEPTED SOLUTION

Thank you.

It was a data issue in the end. The data in the primary key column between the two tables weren't correct/did not match-up and that is why the filtering did not work.

 

The filtering and graphs now work as expected.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @mhorn30 ,

More details will be much helpful.

If it is convenient, could you share the data sample which could reproduce your scenario and your desired output so that we could help further on it.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you.

It was a data issue in the end. The data in the primary key column between the two tables weren't correct/did not match-up and that is why the filtering did not work.

 

The filtering and graphs now work as expected.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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