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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
rejishravindran
Frequent Visitor

Select columns displayed in visuals

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_0-1713458756035.png

 

4 REPLIES 4
tharunkumarRTK
Solution Sage
Solution Sage

@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. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.