Power BI desktop - new column refreshes data - powerbi

I hope you can help here.
I'm trying to create a new column on the Data screen on PowerBI Desktop.
I click [New column] and it adds a column "Column" - however when I try to rename it I get a data refresh message (see attached screenshot) and the column doesn't get added.
This happens as soon as I click into the 'Name' field or right click on the column in the 'Fields' panel.
This seems a peculiar feature. Otherwise I'm guessing it's a bug.
I've reinstalled the PowerBI desktop app however get the same results.
enter image description here
Thanks for the replies!

Please add some text or anything while creating column. Otherwise when you click on any other place it will automatically removed.
e.g. Column = "Test"
After adding above code try to rename.

Related

Power BI doesn't reflect changed done in Edit Queries mode even after applying changes

I'm using Power BI (May 2020 edition) and I've encountered a very weird problem. My visuals are based on SQL Server Stored Procedure. When I initially displayed data on visuals, I realized I need to add extra column on backend and switch columns on visual. So, I did the following:
I modified my Stored Procedure and applied changes on back-end
I navigated to Data View and clicked on Edit Queries menu item. Then I right-clicked on the column I needed to move and clicked "Move Right". This way 2 columns swapped the order in which they were displayed.
Then I clicked Refresh All and after a while got all my changes - recently added column from SP and swapped columns displayed correctly on Edit Queries window.
After all these manipulations I clicked Close & Apply and was redirected to Data View of my Visuals. None of the changes were reflected. I went to Report View - the same thing, of course.
Did I do anything wrong or it's a known bug that hopefully has workaround?
Appreciate everybody's help.
P.S. I was able to refresh the data by right-clicking on "Query" dropdown on Data View and clicking "Refresh Data". However, columns order still not resolved. Looks like everything we do under Edit Queries is not reflected in May 2020 edition. Please correct me if I'm wrong or if there is a workaround. Unfortunately I can't upgrade to newer version as our server doesn't support it.
Resolved the issue - instead of going to Edit Query mode, I simply dragged fields to appropriate place in Report Mode, Visualizations pane. But I still remain puzzled why Edit Queries changes are not reflected when Close & Apply is clicked.

Missing column in Power BI

This is very strange, I have been working on this table(model) in Power BI and one of the columns is Timestamp. I used it as the axis for one visual but now the column is gone and no longer in the columns in the Field section on the right, though the visual is still working fine. What could have happened?
You could have accidentally deleted it...
Go to Transform Data to get tot he PowerQuery editor.
Click on the relevant table and then look at the APPLIED STEPS. Click on each one from the bottom up to preview the data at the selected steps to see where it has gone wrong.
Also check your data source - has it disappeared from there maybe?

How can I get my PBI report to populate each query result on a new page?

Relative NEWB to PowerBI report builder and have a question about report iteration. Basically, I have a dataset that contains data for 'scorecards'. I want each page of the report to be one 'scorecard'. This corresponds to each row in my dataset query accordingly. I formatted my report accordingly and was anticipating that when I linked each textbox to its corresponding dataset field, when I run the report, I would have a multi-page report; however, I'm only seeing the first query result. I'm assuming this has something to do with the first() function. What am I missing?
edit - I'm basically trying to recreate the functionality of an Access 'report' where each record is displayed on a new report page.
I figured this out - it was staring right in front of me! I needed to add a 'List' data region. I can then design the report and it creates a new page for each record.

Show/Hide column in Power BI Table/Matrix visual

Is there any possibility to show or hide the column in Table/Matrix visual in Power BI report by user dynamically?
For Example, I have a table view with columns COLUMN-1, COLUMN-2, COLUMN-3. Now I may have filter drop down to list all the column headers, so based on user selection (Multiple selections) Table view should get adjusted to show column values.
Since Power BI was developed based on Excel, curious to know if we are having Hide/Show column based on any condition or available in visual by default (Maybe by right-clicking on column header then show/hide it).
You can do this with the following workaround:
Create your page with the table showing both columns.
Create a bookmark, uncheck "Data"
Duplicate the page and remove the column you want to conditionally hide. Set the page as hidden.
Create a bookmark, uncheck "Data"
Add a button to the first page pointing to the 2nd bookmark
Add a button to the second page pointing to the 1st bookmark
Ensure your slicers are synced
The end user experience is they will feel like they are conditionally hiding and unhiding the column.
A bit crap and a lot of extra work but I have it working well in my implementation.
Currently it is not possible to hide columns in visual based on slicer selection, there is an idea about this issue, please vote it up.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/19435267-conditional-visibility-of-a-visual-based-on-slicer
Thanks!
This is now available in Power BI with preview feature "Field Parameter". Check the May 2022 update.

PowerBI : Dropdown Slicer added to a report changes to List Slicer on reading view or publish

When i add a Slicer set as Dropdown, after saving or publishing on the report in reading view it changes to list slicer. ( this is the option that is present in the header link).
I tried changing the visual size, thought that could be a issue, but does not resolve it.
Also in this visual, the header is turned off.
visual size: 150x70.
Page size: 2048x1080
Any suggestions.
I got this problem too
i figure this in my report
i'm using bookmarks!
and update bookmark with the last changes with a list view in the slicer
and after i change to dropdown
and forget to updatet the bookmark again
you always be back to the list if using the link that use the bookmark
need to update the bookmaek again with the dropdown view and now it's ok !
this was my case
i hope i help you
I've had this happen many times, my only solution so far is to try and refresh, and if all else fails come back in 2-3 hours and/or delete them and remake. This is another doozy of a product from MS have finished.
For me, I just had to reset to default: