How to add calculated column to PowerBI datasets - powerbi

I have created a dataset in Power BI web, and then imported it on Power BI desktop (using File -> Get data -> Power BI datasets).
I don't see a way of adding Calculated Columns. Does the dataset need some special configuration to enable this?

Based on my experience you won't be able to see the columns because it using direct query. you can still add some columns and measure but your'e basically flying blind. you can just select the table in the report(visual view) and add column however you'll have to play the guessing game. But if you know your dataset you should be fine.
However a Dataflow wouldn't give the issue you're having.

Related

Power BI - How to limit data imported using date

Newbie here. How do I limit the amount of data imported to Power BI? For example, I have a total row count of 1,156,135, but i only want to load the last 90 days is there an easy way of doing this?
With Power BI, you can edit the query to pre-filter the data.
On the ribbon, click Transform Data to open the Power Query Editor. The Power Query Editor will show you a sample of the data (not all of it). Then either you can set up your filters and Power BI will build the query for you, or you can use the Advanced Editor to write/edit your own query.
Click "Close & Apply" to close the Power Query Editor and load the data.

Missing Column in Power BI Service

I have been requested to add another column in a dataflow in Power BI and have done so and refreshed the dataset which uses the dataflow. The field is not appearing in the list of fields in Power BI for some reason. I have tried downloading the dataset on my desktop and cleared the cache and did not work. I opened Power Query (Transform data) and the column exists. I've tried to refresh preview and Close and Load but still not showing. I have 3 columns in that table in Power Query but only 2 are shown in the list of Fileds in Power BI.
Please can you help?
Power BI Filed List
Power Query
I was able to sort this out by right clicking the table and selecting Refresh data
check whether the data source path is correct or not in PBI desktop [path is from your local machine or not]
P.S: If this answer helps, please take a moment to check the tick mark and upvote this answer.

Power BI as a tool for Excel report preparation?

I want to know if I can use Power BI to create reports in Excel? I want a well formatted report we present before clients.
Clients provide us data in SQL. I use statistical analysis tools. The analysed numbers are in SQL again. I have Power BI on my laptop. I want to know if I can build any process where I can create excel reports from the SQL server numbers?
I do use PBI for creating charts and graphs which I later manually paste in excel reports. But have no idea if complete report making is possible.
Can anyone elaborate??
Thanks!!
Power BI is (mostly) the combination of two Excel plugins, Power Query (Get data from Excel 2016 onwards) and Power Pivot. The visual/report layer is an advanced version of Power View in Excel.
You have two options. First you can use Excel to have the Power BI experience in getting and connecting the data together. For this method you will use the Power Query (M) and Power Pivot (DAX) parts, these are the same as getting data and using the relationship designer in Power BI. If you are currently copying and pasting visuals from Power BI into Excel, then this method would be the best way. You may want to create your visuals in Excel, and format them to a Power BI look and feel.
The second option is to create the dataset in Power BI, getting and transforming the data, then publishing it to the service. You can then use 'Analyze in Excel' to connect Excel to the dataset and surface the data in Excel.
I would recommend not copy and pasting visuals from Power BI to Excel as you lose the benefits of Power BI's interactivity, just use the normal charts, slicers and other tools in Excel. By using the first option, you are keeping the workflow in one application without any convoluted steps back and forth, and anything you learn and use in Power Query and Power Pivot you can use in Power BI.

Adding a new data source to the existing report built with a dataset

I am new to Power BI and trying to build a report for one of our business requirements. I have access to a Power BI dataset which I imported in the Power BI desktop version. I also need to import an excel file placed in SharePoint/OneDrive and merge the data in these two sources. When I am trying to do this, I am getting the below error.
Is this feature not available in Power BI?
If not, is there a way to achieve this objective?
You are connected to a Tabular SSAS cube or Power BI Service dataset, you can't add other data sources.
You can only mix data source types in the modes direct query and import. See the limitations section of the MS docs
One option would be to recreate the Tabular data model in Power BI, over the base table/views it is based on in direct query mode, then add the SharePoint list, or add it as a table in the Tabular/Power BI Service Dataset

How to achieve Column level Security in Powerbi?

While working on Power BI, I have to show few columns from TABLE visual to specific set of users and hide for others.
So, till now I have created two ROLE in Power BI and added users but unfortunately, I am not able to hide and show TABLE Columns as per ROLE.
At this point - Column Level Security and Hiding Columns is not something one can achieve with Power BI.
Kindly see this Post on Power BI Ideas.