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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Lily36876
Helper II
Helper II

Data Model Question

I have a dimension table named "Store List" that is linked to both the sales details line and the store sales target table.

 

However, in the past few days, when I use the fields from the "Store List" dimension table and the sales details to create a pivot table, some stores are missing data.

I discovered that this is because they do not appear in the store sales target table.

The perplexing part is that my pivot analysis table has no direct connection to the store sales target table whatsoever.

I haven't utilized any fields from the store sales target table.

Is there a setting I might have missed?

 

Sample1.

Store disconnect with sales target table , and Shop H011 has Last Year Total Sales in 2023

and  my LYTTL DAX is :

LYAMT = CALCULATE('Sales Line'[TTL],SAMEPERIODLASTYEAR('Date Table'[Date]))

Lily36876_0-1699927456113.png

 

 

Sample2.

Store connect with sales target table , and Shop H011 lost Last Year Total Sales in 2023

because this shop doesn't have sales target.

but in this pivot table, I don't use any columns from Sales Target Table.

Lily36876_1-1699927456000.png

 

Please help me....

In the past, when working with pivot tables, if a field in the fact table had no data, it would typically result in empty cells at most. I have never encountered a situation like this before.

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Lily36876 ,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

OwenAuger
Super User
Super User

Hi @Lily36876 

Could you please post your data model diagram, and the definition of the TTL measure?

Or a sanitised PBIX if possible.

 

This behaviour suggests that their might be a bi-directional relationship somewhere in the model (Cross filter direction = "both"). I would suggest ensuring all relationships are single-diretional (Cross filter direction = "single").

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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