Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
@Anonymous
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.
@Anonymous
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |