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

Active Products Path each customer for large datasets

Hi,

 

I need some help with this challenge 😊

 

What do I want?

I need a report with the number of customers with active products for each day.

For example:

 

Date

A

A,B

B

C

Total

09-12-2019

1

2

1

2

6

08-12-2019

1

1

1

2

5

Etc.

 

 

 

 

 

 

So on the 9th of December there is 1 customer who has only active product A, there are 2 customers who have active product A and also active product B (ActiveProductPath = A, B), there is 1 customer with only active product B and there are 2 customers who have only active product C.

 

Dummy file and a solution

You can find a dummy file with a solution! here: https://www.dropbox.com/s/a6eykz0o7g5jdht/ActiveProductPathFinalv2.pbix?dl=0

 

You have already a solution, so why this question?

The technique used as a solution isn’t working for large datasets because of memory.

 

Can you explain this?

The dummy file contains 14 products (= rows), with the technique used (day-customer-productpath) this becomes 922 rows (= 65,86 times 14).

I have another file with 7.769 different products and with the technique used in the dummy file the table “day-customer-productpath” became 4.965.732 rows (= x 639,25)! This wasn’t a problem for Power BI.

 

But now I have a file with 1.7 million different products and with this large dataset my computer gets a memory-problem…….

 

So what is your question?

Is it possible to solve this challenge without the technique used in the dummy file? With other words, is there a DAX-solution to create virtual tables and to count customers with different “ActiveProductsPaths”?

 

Hope to hear from you soon.

 

Thanks in advance!

 

Regards from the Netherlands,

 

Cor

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your situation, the dataset is very large. I recommend that you connect to your data source with Direct Query mode.

And you could use filter to set rules to show data you want, which has reduced the workload of Power BI.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

Hi @v-eachen-msft ,

 

I've tried but I get the message "this query contains transformations that can't be used for directquery". 😞

 

Regards,

 

Cor

 

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.