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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Wishmaster91
New Member

Is my data model ok?

Hi All

 

I am trying to calculate each clubs totao goals scored but i am having some difficulty. 

 

Here is my a link to my data model 

https://ibb.co/RP2qgqF

 

A simple dax formula like below does not give the right result so i am confused.

 

 

 

Top scorer = COUNT(Goalscorers[GoalId])

 

 

 

9 REPLIES 9
Wishmaster91
New Member

Still having trouble, is it possible to upload my power bi file? 

Hello @Wishmaster91 ,

 

Yes you could put it on google drive and share it here.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Here you go.

 

https://drive.google.com/drive/folders/1zcE3tnmAbmKKD-muyTg_o-gQGCCB-Tv5?usp=drive_link

 

Questions

1) do you think this data model is ok?

2) On report view, team goals and player goals are giving accurate data but fixtures does not. I assume this is because there is no direct link between fixtures and clubs and if you connect those tables you will get an error.  Is there any way round this?

Idrissshatila
Super User
Super User

Hello @Wishmaster91 ,

 

try countrows.

 

Top scorer = COUNTROWS(Goalscorers[GoalId])

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks for your answer. Unfortunately its still the same result, some of the clubs have the right figure but a couple do not. 

Hello @Wishmaster91 ,

 

check if there's any filter that is affecting the data in the report.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thats where i am stuck

@Wishmaster91 , 

 

so click on this icon in the visual you're seeing the value from and you'll get to see if there's any sort of filter affecting the visual.

 

Idrissshatila_0-1693296090804.png

 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks again, heres a screenshot of the filters.

 

https://ibb.co/vYnfMFW

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors