Forum Discussion

PBI5851's avatar
PBI5851
Helper V
6 years ago
Solved

Creating a derived table in Power BI

I have a table which when used with extensive DAX, i keep getting the "Cannot display visual "as not enough reources available. When checking the analyzer, there is a DAX that is taking up majority of the time. i have sufficient filters to limit the data, but not sure what else is going on. It is referencing a table that has around 2 million rows. I'm assuming that since it has to read that entire table and use the filters, it may be using up the resources. 

 

My question is can i create a derived table in Power Bi similar to a count(*)/group by in SQL . 

 

Existing table in power BI

AccountIDAccountDateAccountStatusClientType
A12341/1/2020CancelledEastShoes
A2341/1/2020ShippedEastBelt
A3451/1/2020ShippedEastBelt
A4561/5/20CompleteWestShoes
A2341/5/20CompleteWestMask
A3451/8/20CompleteSouthBuckle

 

Is it possible to create a dynamic table as below within Power BI and use that in the relationship and subsequent visuals , (in sql, select count(*) CountNum, AccountDate, Client, Accountstatus from AccountSales group by Accountdate, Client, AccountStatus)

 

CountNumAccountDateClientAccountStatus
11/1/2020EastCancelled
21/1/2020EastShipped
21/5/2020WestComplete
11/8/2020SouthComplete

 

Any recommendations. 

2 Replies