Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

How to avoid duplication of tables when appending tables?

$
0
0

Hi guys.

 

I'm facing a problem which, I think that basically it's going to create performance problems because of duplicating tables with so many data and I don't know if I could do it in another way in PowerBI. I'm going to put you in context.

 

I'm doing one dashboard for a client who has five companies and needs to analyze: Invoices, Installments, and Delivery Notes data with different slicers like day, month, year, company and type of data (Invoices + Delivery Notes or Installments + Delivery Notes)

 

These are all the companies which their respective tables:

 

EXAMPLE TABLE

Nº #Company 1Company 2Company 3Company 4Company 5
#1Invoice HeaderInvoice HeaderInvoice HeaderInvoice HeaderInvoice Header
#2Invoice LinesInvoice LinesInvoice LinesInvoice LinesInvoice Lines
#3Installment HeaderInstallment HeaderInstallment HeaderInstallment HeaderInstallment Header
#4Installment LinesInstallment LinesInstallment LinesInstallment LinesInstallment Lines
#5Delivery Notes HeaderDelivery Notes HeaderDelivery Notes HeaderDelivery Notes HeaderDelivery Notes Header
#6Delivery Notes LinesDelivery Notes LinesDelivery Notes LinesDelivery Notes LinesDelivery Notes Lines

 

You can imagine such a quantity of data this is. So, to be able to analyze all this data at the same time in only one dashboard what I had to do is append all Invoice Header tables (#1) into one, later append all Invoice Lines tables (#2) into one, like this with every line of the Example table. And once done this, I have to join the resulting tables to finally have:

 

  • Header of each kind of data (Invoice + Installments + Delivery notes) of all companies
  • Lines of each kind of data (Invoice + Installments + Delivery notes) of all companies.

 

As you can see, I'm duplicating tables several times, for the end, to be able to analyze everything in one dashboard like this (I know, it's horrible drawing Smiley LOL) because PowerBI doesn't allow to query one table or another depending in a slicer selection, that's why I have to join them so many times.

 

Yyhq19p

 

 

 

So, my question is, isn't there a better way to do this in PowerBI? Or can't PowerBI give the best of yourself?

Any question you have because you don't understand what I'm trying to explain, don't hessitate to ask!

 

Thanks.

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>