March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
Can we hide a column / measure in a Table .
Basically, I want to show only first 5 column on report , but when the user Export .csv , all the hidden column/measure should also be visible.
Thanks .
HI @Anonymous, you can hide a column in a table visual using the following steps:
1.Create your table visual.
2.In the visualizations pane, navigate to the 'Format' options.
3.Under 'Values' and 'Column Headers' uncheck 'Text Wrap.'
4.Then Resize the width of the column
Thanks & Regards
Manu<30>
hi,
the best option in my opinion is to put the column last. Then in the formatting, adjust specific column text color and background to white. You still get lines for that column but I did not find any cleaner option to achieve it.
I know this post is old but since it doesn't look like an answer was provided, you can add whatever field you want to appear in the CSV export in the drill-through data of your visual. This data won't show on the visual but will appear on the export and of course the drill through pane.
Hi Mridul,
According to your description, you need to hide columns on your report, and the hidden columns should visible after export the report to CSV file, right?
Based on my research, there is no a visibility option for the columns in current version of Power BI report. So I am afraid your requiremnet cannot be achieved currently.
If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.
https://ideas.powerbi.com/forums/265200-power-bi-i
Regards,
Charlie Liao
@Anonymous In PBI desktop, you can first build all your visuals using required columns in your table. Then go to Data tab, select your table and column, right click & Hide in report view. This will make column disappear from the column list in report view, but all your visuals will stay as it is. When exporting to csv data will be there as well.
The problem is that my column is composed by a measure. There is any other way to do that?
@ankitpatira : As per your solution i can hide from the Fields column on right but still see the hidden column on Report in Table Visualization, but i think the workaround is just by dragging the column on left side as smoupre has explained.
Is there a way to export your Measure in csv /Excel ?
Thanks :
You can shrink the column down to the point that it is not visible but not truly hide it.
Is there an idea that is slated to be published to fix this blatent gap?
When I do this the height of the rows increases. How can I hide the column without this happening?
Thanks in advance
@yamenmarquez I renamed the column to a dot "." Then I turned Values->WordWrap to OFF.
How can i do this ?
@Anonymous - In your table visualization, hover your mouse over your column heading that you want to "hide" and move it to the right until the mouse cursor changes to a <->, then left-click and drag to the left until it is completely hidden.
@Greg_Deckler Thanks for the workaround. Is there a way to export my measure calculation in CSV.
All i am trying to do is to build some measures on the Hidden column , and export csv with the measure.
@Anonymous - If you click the ellipses on the table visualization and click "Export to Excel" then it will export everything in the table, even the "hidden" columns. Is that what you are asking?
@Greg_Deckler : I can see the hidden column in my .csv Export data , I hide columns using <-> icon on Table.
BUT, i also used some DAX formulae in Hidden column, which i DID NOT see in .csv exported.
Also, i used all the columns on Tables , which is used in DAX formulae.
Secondly, I see "Export Data" Option on my Table Exclipse(...). I dont see the Option called "Export to Excel"
Yes, Export Data, sorry. I added a custom column and a custom measure with DAX calculations in them and I see both columns in my table when I check the data.csv file that is exported.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
86 | |
77 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |