Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi All,
Am new to Power BI. I have a report on a dataset where i tried display 7 columns from 3 tables and 2 measures from one of the 3 tables. When i drag and drop into the table, in query log i see it is selecting all the columns from the second table which i do the join. How do i select only columns i need from the tables and tables which i join?
Any help would be greatly appreciated.
@rejishravindran
I guess you are usinf direct query sorage mode. The SQL query which power bi sends to the source will depend on various factors and one such factor is the DAX query that you wrote and the relationships between the tables. I dont think it is possible for anyone to suggest you an idea without knowing the details.
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
Yes am using direct query storage mode. i have table A with more than 100 columns from which am selecting only 4 columns and 2 columns from another outer join table B. DAX query which power bi sends is trying to read all the columns from table A and all the columns from table B which is causing the visual exceeding million rows constraint.
@rejishravindran
As I said its difficult for me suggest anything without knowing the dax you wrote for those measures. My suggestion is to do basic check first
i.e. just pull the required columns both the tables and do not pull any measure and very how many columns the query is sanning and as per my knowledge it will only scan the columns you pulled.
after that enable horizontal fusion option in the preview features and then into visual include the measures and check again. Incase if the sql query is scanning the entire table then you need to otimize your dax. Hope this helps.
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
Hi - How can i reach out to you to show you the DAX query? SQL query is scanning the entire table but DAX query picks the only selected columns. we dont have horizontal fusion option.
User | Count |
---|---|
14 | |
10 | |
9 | |
8 | |
5 |