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
CarlBlunck
Resolver I
Resolver I

Data model - memory issue

Hi team,

 

I have a relatively simple data model and in a table visual I'm trying to add a measure (Count Distinct) that uses data from another table.  Getting a memory issue.

 

In QlikSense, this wouldn't be an issue.  This post is to get some insight into why PowerBI can't handle this as I'm extremely new to the product and data modelling within it.

 

CarlBlunck_0-1659058126433.png

Cheers

Carl

1 ACCEPTED SOLUTION
TheoC
Super User
Super User

@CarlBlunck 

 

Hope all is well.

 

A few reasons for this could be to do with the current structure of your data model and the relationship structure as well as the bi-directional approach being taken.  

 

If you can provide a bit of sample data, it will be easier for the Community to assist and provide reasoning for the cause.

 

Thanks heaps,

Theo

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

View solution in original post

3 REPLIES 3
v-cgao-msft
Community Support
Community Support

Hi @CarlBlunck ,

 

Would you mind providing the formula of this measure and the error message? 

 

Power BI is designed to work with a Star Schema, and a good model is half the battle. 

Understand star schema and the importance for Power BI

 

Documentation that may help:

Adjusting Cross filter direction for a complex set of tables and relationships

Relationship troubleshooting guidance - Power BI | Microsoft Docs

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Hi @v-cgao-msft 

 

Measure is:

Measure 1:
NumberOfApplicants = DISTINCTCOUNT(fact_PageUpApplicantData[ApplicationNumber])

Measure2:
NumberOfApplicantsHired = 
CALCULATE ([NumberOfApplicants],
   fact_PageUpApplicantData[ApplicantStatusMapping.MasterApplicantStatus] = "Hired"
)

Error only appears when I am trying to include data from all tables in the one visual.  If I limit the visual to only contain data from two of the tables, no problems.

 

CarlBlunck_0-1659658987097.png

 

TheoC
Super User
Super User

@CarlBlunck 

 

Hope all is well.

 

A few reasons for this could be to do with the current structure of your data model and the relationship structure as well as the bi-directional approach being taken.  

 

If you can provide a bit of sample data, it will be easier for the Community to assist and provide reasoning for the cause.

 

Thanks heaps,

Theo

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

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.