powerbi-datasource

RLS in Power BI Embedded (App Owns data) with Azure analysis service live connection

戏子无情 提交于 2019-12-11 08:29:43
问题 I am using Power BI Embedded (App owns data) version with Azure analysis service live connection. I want to implement RLS. when userlogged into website then I need to read the data security context(Eg: cutomer_id, service_id, etc.,), For this, I want to pass these values (Eg: cutomer_id, service_id, etc.,) to the azure analysis server instance and then use Role filtering in the anlalysis server instance to restrict the data. Can I read the passed values in the analysis server role filters.

Count occurrences in Dax

只愿长相守 提交于 2019-12-11 06:25:50
问题 I have the following table: Now, I want to apply some dax instructions to that table, and display this data in a chart: Or in other words, I if it is the first time that the Country's name appears, it must show 1 and 2 for the second time. 回答1: Try this for creating a calculated column called Occurrences : Occurrences = CALCULATE ( COUNT ( [Pais] ), FILTER ( 'Table', [Index] <= EARLIER ( 'Table'[Index] ) && [Pais] = EARLIER ( 'Table'[Pais] ) ) ) Index must be an incremental key in each row.

How to refresh report that uses custom functions on Power BI Service?

懵懂的女人 提交于 2019-12-11 02:26:37
问题 I know this issue has been posted many times before, but I was not able to get a solid/working solution. I am trying to figure out a workaround for refreshing dataset with Custom functions over Power BI service. My query looks like the following: let Clients = Json.Document(Web.Contents("https://api.createsend.com/api/v3.2/clients.json")), #"Converted to Table" = Table.FromList(Clients, Splitter.SplitByNothing(), null, null, ExtraValues.Error), #"Expanded Column1" = Table.ExpandRecordColumn(#

Cannot install Microsoft Power Bi Postgre SQL connector

徘徊边缘 提交于 2019-11-29 13:25:50
I am trying to use Microsoft Power Bi to connect to a PostgreSQL database. When I go to Get Data it just says that the connector requires one or more additional components to be installed before it can be used I have installed Microsoft Power Bi version: 2.47.4766.801 64-bit (June 2017). I have installed Npgsql 3.2.3. I have installed VS Studio 2017 Community and added the dll files to the assembly using the VS Studio command prompt. I have edited my machine.config file. below <system.data> <DbProviderFactories> <add name="Npgsql Data Provider" invariant="Npgsql" description=".Net Framework

Cannot install Microsoft Power Bi Postgre SQL connector

风流意气都作罢 提交于 2019-11-28 07:23:47
问题 I am trying to use Microsoft Power Bi to connect to a PostgreSQL database. When I go to Get Data it just says that the connector requires one or more additional components to be installed before it can be used I have installed Microsoft Power Bi version: 2.47.4766.801 64-bit (June 2017). I have installed Npgsql 3.2.3. I have installed VS Studio 2017 Community and added the dll files to the assembly using the VS Studio command prompt. I have edited my machine.config file. below <system.data>