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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Power BI effiency problem

Hi,

 

Im having a problem with the Power BI solution i have being too slow. Basically i have a data sets ranging from 50 000 rows to 1 000 000 rows, for which it might take 20min to perform the query below.

Does anyone have any improvement ideas on how to perform the following problem faster than the current solution that is also presented below?

 

Problem   

For people familiar with accounting: I would like to see where do entries from one account go to. As in "other side of a journal entry".

Basically the data is this as in the table below:

AccountIdentifierSum
1000565100€
110056520€
1200565-120€
1200572-101€
130057250€
140057250€
15005721€
1600577-5000€
16005775000€

 

Of course, there will be hundreds of thousands of lines. But the rule is:

1. All Identifiers (565 for example) equal out to zero in the Sum-field. 

 

Goal:

I would like to create a dashboard, where i can filter account 1200 and it would present to me the following:

 

Account 
1000100€
110020€
130050€
140050€
15001€

 

So the solution would be like this:

Filter all Identifiers that are in account 1200 (565 & 572 in this case).

If account <> 1200 then SUM the values of these identifiers and show which account they are assigned to.

 

The current solution that is too slow:

 

image.png

 

 

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

If you've fixed the issue on your own please kindly share your solution. if the above posts help, please kindly mark it as a solution to help others find it more quickly.thanks!

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Greg_Deckler
Super User
Super User

You need an inverse slicer. Luckily, I invented one. 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Inverse-Selector/m-p/648290#M325

 

You may also need an inverse aggregator. In that case:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Inverse-Aggregator/m-p/342266#M91

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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