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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Mahmoud_nabir
Frequent Visitor

Relation active but not working

i have 3 tables

HH_Customer  (customer Data)

SKYDIST_PLANNED_VISITS_TOTALS_details (planned visits for each customer ber Week Day)

Table (count planned visir for each weekDay)

-i have relation between SKYDIST_PLANNED_VISITS_TOTALS_details[Cutomerid] and HH_Customer[customerid]

- relation between Table[Visitday] and SKYDIST_PLANNED_VISITS_TOTALS_details[Visitday]

 

i have calculated the planned visit by each weekday as shown on Table[Column]

 

result is accurate but i have problem when filter by customer category

 

as i have categoris on customer i want to choose the category then reflect with the Table [Column]

 

it reflect on count(SKYDIST_PLANNED_VISITS_TOTALS_details) but not reflect on Table[Column] 

as shown on Picture 4 & 5

 

1.JPGSKYDIST_PLANNED_VISITS_TOTALS_detailsSKYDIST_PLANNED_VISITS_TOTALS_detailsTableTable

 

4455

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @Mahmoud_nabir,

 

I think that should be the issue of the relationship between tables in your model. kindly share your pbix to me.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
affan
Solution Sage
Solution Sage

Hi @Mahmoud_nabir,

 

Instead of sharing the image it will be easier to resolve your issue if you can share a pbix file with sample data and also the desired results.

 

Regards,

Affan

Mahmoud_nabir
Frequent Visitor

Column calculated with below code

 

 

Column = CALCULATE(COUNT(SKYDIST_PLANNED_VISITS_TOTALS_details[CustomerID]),FILTER(SKYDIST_PLANNED_VISITS_TOTALS_details,SKYDIST_PLANNED_VISITS_TOTALS_details[visitday]='Table'[visitday]) )

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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