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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply

many to many different granularity

i do not see correct target quantities

 

powerbiexpert22_0-1714926300641.png

 

powerbiexpert22_1-1714926375042.png

 

 

 

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey @powerbiexpert22 ,

 

the relationship between the ProductDim and TagetFact is NOT active (this is why it's a dotted line that is viusalizing the relationship):

image.png

If you change this, you will see this in the table visual immediately:

TomMartens_0-1715057149033.png

Be aware that the Clothing data is not 40 because of the typo

Clothing vs

Cothing

in the TagetFact table.

image.png

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

thanks @TomMartens  for detailed feedback

View solution in original post

6 REPLIES 6
TomMartens
Super User
Super User

Hey @powerbiexpert22 ,

 

the relationship between the ProductDim and TagetFact is NOT active (this is why it's a dotted line that is viusalizing the relationship):

image.png

If you change this, you will see this in the table visual immediately:

TomMartens_0-1715057149033.png

Be aware that the Clothing data is not 40 because of the typo

Clothing vs

Cothing

in the TagetFact table.

image.png

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

thanks @TomMartens  for detailed feedback

Hi @TomMartens ,

I am still getting same results , I have uploaded the updated file ActualvsTargetv1.pbix in same folder in google drive

 

powerbiexpert22_0-1715042657540.png

 

 

powerbiexpert22_1-1715042706351.png

 

https://drive.google.com/file/d/1iqraL-ubK0sfRrq_H5s5RWhmrZQ4fW1w/view?usp=sharing

 

Hey @powerbiexpert22 ,

 

the only missing part is a relationship between the tables ProductDim and TagetFact. The next screenshot shows the model after I created this relationship:

TomMartens_0-1714971333728.png

Because the targets are on the category level a many-to-many is required, this is also the reason I chose

"Single (ProductDim filters TagetFact)", make sure the relationship is active:

image.png

There is also a small typo in the data of the TagetFact table; once, it says Clothing, and the second, it says Cothing (the l is missing).

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
TomMartens
Super User
Super User

Hey @powerbiexpert22 ,

 

consider creating a pbix file containing sample data that still reflects your semantic model (tables, relationships, calculated columns, and measures). Upload the pbix file to OneDrive, Google Drive, or dropbox and share the link. Do not forget describe the expected result based on your sample data.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.