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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors