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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

memory issues, errors when creating hierarchy using PATH & PATHITEM Functions

Hi everyone,

I have ran into an issue where Power BI is giving me multiple error messages, and I have now hit a brick wall here. I have tried the following with Power BI July release, and I am currently working with 2.38.4491.282 64-bit (August 2016).

 

Scenario
I want to apply security on my data set to make sure managers can only view their department. My data set consists of about 1100 rows, that I filtered to narrow down to around 8 rows, for testing reasons. In the data set, Employee Name and Supervisor Name. I have used these two columns to create a hierarchy using PATH() and PATHITEM() DAX functions. I created about 5 columns;
- 1 for storing the result of PATH(). This column stores the entire hierarchy, and with the 8 rows, it has about 4 levels
- Rest of the columns are for 4 levels of hierarchy
I have been able to create and test roles, and all works as expected.

The Problem
Problem begins once I start working with the entire data set of about 1100 rows. From the error message below, it looks like there's a code level bug, something to do with some pointer or something else. This is now appearing to be a crticial issue for my implementation of the business.

PBI Desktop errorPBI Desktop error

Computer specsComputer specs

I have flicked it to Power BI support but I am yet to receive a response that could help.

Thanks

Kaz

1 ACCEPTED SOLUTION


@Anonymous wrote:

@Eric_Zhang

 

Hi Eric, I did a test myself using Employee No & Manager No columns, I confirm I did not get any errors. This brings us back to the scenario where I have used text columns to generate the hierarchy and running into memory issues

 

Your thoughts on above?

 

 

Thanks


Kaz


 

@Anonymous

 

It is not in my case. Could you share any sample that leads to the issue?

 

Capture.PNG

View solution in original post

10 REPLIES 10

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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