general comments
9 TopicsPower BI - Get Data From SharePoint List / Library
In this article, we will show how to get the data from SharePoint in Power BI. Using OData Feed. Using SharePoint List. Get SharePoint List/Library Using OData Feed The Open Data Protocol (OData) is a data access protocol for the web. OData provides a uniform way to query and manipulates datasets through CRUD operations (create, read, update, and delete). OData defines an abstract data model and a protocol that let the client access the information exposed by SharePoint. Steps Open Power BI Desktop and at Home Tab, click on Get Data > OData Feed. Type the OData Feed URL for the SharePoint "http://siteurl/_vti_bin/listdata.svc" and click Connect. ListData.svc provides a way of getting information from a list using REST. In Navigator dialog, select the required list and click Load. You should now find the list fields in Fields section, and you should be ready to build your report from SharePoint list items. Note In case the current user is not authorized to connect to the site, you will be prompted to set the right credential as shown below. Get SharePoint List/Library Using SharePoint List Connection Power BI Desktop also provides a direct data source for the SharePoint list as shown below. Steps Open Power BI Desktop > at Home Tab > Click on Get Data > click More. In Get Data dialog, Search for SharePoint > Select SharePoint List > click Connect. Provide the SharePoint Site URL > click OK. In Navigator dialog, select the required list > click Load. You should now find the list fields in Fields section, and you should be ready to build your report from SharePoint list items.354KViews14likes7CommentsHow to identify average when the column has text datatype?
Hi All, I have a column which has 'user name' and it's datatype is 'text'. Currently I am showing the data in card visual which shows distinctcount of username. However, I would like to show 'Average of number of users'. Since it is in text datatype, could you please advice on how to write the measure to achieve this scenario? E.g. data: Username abc def ghiSolved789Views0likes3CommentsCreate calculated column in Live connection
Hello All, I have 2 tables, Table 1 is live connection(Using existing dataset) and Table 2 is import file. The Employee ID present in import file should be shown as "Flag - Internal", and for other records should be shown as "External" or "Blank". We have to bring that Flag column from table 2 to table 1. Using RELATED function we can achieve this but since Table 1 is live connection unable to create Calculate column and Calculate Table. Using relationship between these 2 table if we directly drag and drop the Flag column in a table visual, data will filtered out where Flag = Internal. Flag = External won'tbe appeared in the visual. I believe it should be handled in Measure. Please advice how to achieve this measure.Solved3.4KViews0likes14CommentsDAX - Calculated column based on IF condition
Hi Team, I have a scenario to achieve in DAX. The mentioned is the requirement. The Training "T1" should be mapped only to Role 1. If other Role contains the T1 value it should be "Null". Other values in Training can be same. Only for T1 we need to achieve this. Even if data has 100 roles, if any role contains T1 value then it should be "Null" all other values are similar. Please advice to achieve this output.333Views0likes1CommentWhat's the difference between Firstdate/Lastdate(Date.Date) and Max/Min(Date.Date)?
I'm curious to know what the difference is as using this equation Calculate( [Total], Filter(All(Date), Date[Date] < Firstdate(Date[Date])) yeilds blank as a result but, Calculate([Total], Filter(All(Date), Date[Date] < Min(Date[Date])) gives the correct result. I assume Firstdate/Lastdate is syntax candy and contains a calculate statement which changes the filter context but, why?Solved2.5KViews0likes1Commentswirl function
Hi, Please help me with swirl function. this is what i get and stuck with it > my_mean <- function(my_vector) { + sum(my_vector)/length(my_vector) + } > my_mean(c(2,3,4)) [1] 3 > [save] > submit() | Sourcing your script... | Not quite! Try again. | Use the sum() function to find the sum of all the numbers in the vector. Use the | length() function to find the size of the vector.2.3KViews0likes1CommentPower BI Formula Help
Hello, I'm having problems getting an expression to work as I am getting the "Expressions that yield variant data-type cannot be used to define calculated columns". This is what I entered "QC Release Date = IF(IM_ItemWarehouse[Warehouse Code] = "QC",DATEADD(IM_ItemCost[ReceiptDate],17,DAY),"")" I bascially need to say that if an item is in a specific warehouse, then add 17 days to the "Receipt Date" else Null. Can someone help me with thisp please? Thank you!2.2KViews0likes3Commentsbuscar 5 maiores valores de uma coluna/find 5 highest values in a column
Ola boa tarde alguem pode me ajudar? Quero fazer um filtro de uma coluna e mostre apenas os 5 itens de maior valor. Por exemplo tenho uma coluna com produtos e valor vendido; Eu quero buscar quais foram os 5 itens que mais foi vendido e seu respectivo valor total de vendas. Translated: Hello good afternoon could someone help me? I want to filter a column to only show the 5 items with the greatest values. For example, I have a column with products and value sold. I want to find which ones were the 5 most sold and their respective total value in sales.Solved5.6KViews0likes5Comments