powerbi-desktop

Expression in power bi and qliksense

自作多情 提交于 2019-12-13 04:09:26
问题 I have 2 files one is in qliksense and other is in power bi .. both have same tables and relationships.. qliksense expression is if([Billing Doc. currency_WAERK] = 'USD', sum({<[Billing Type_FKART] -={'ZG2','ZL2'}>}[Billing Sales Amount_NETWR])*139.2, sum({<[Billing Type_FKART] -={'ZG2','ZL2'}>}[Billing Sales Amount_NETWR])) and power bi expression is UPDATED Total Sales Variable = CALCULATE ( SUMX ( VALUES ( test_billing_doc_header[Billing Doc. currency_WAERK] ), IF ( test_billing_doc_header

Display Count of Users based on Multiple slicer values Power BI

我们两清 提交于 2019-12-13 03:25:25
问题 I am working on a Viewership table which tells numbers of customers watches asset. There are two asset filters. One for watched and one for not Watched. Based on the asset filters, I need to display number of customers who watched the show & customers who didn't watched the show. Below is the method I have used. First, created a new table "Asset": This table contains unique assets and used it to create a slicers that affects DAX measure but does not affect the visual (table). Asset table

How to fill out blanks in Running Total matrix Power BI

前提是你 提交于 2019-12-12 14:30:26
问题 I am working on Loss Triangle in Power BI where AccidentYear are rows and DevYear are columns. The values in the table are Running Total created by measure: Running Total Loss = CALCULATE( SUM(fact_Losses[PaymentAmount]), FILTER(ALL(fact_Losses[DevYear]),fact_Losses[DevYear]<=MAX(fact_Losses[DevYear])) ) Link to get Raw data: https://www.dropbox.com/s/dvb6cu1k4vmzkur/ClaimsLloysddd.xlsx?dl=0 Running Total Cumulative Data looks like this: AccidentYear DevYear Running Total Loss 2012 12 164714

DAX Measure: dynamically consider only first for each group and and overall returns their count

…衆ロ難τιáo~ 提交于 2019-12-12 12:00:18
问题 We are struggling in trying to solve a problem that might simpler than I think. I am just stuck. The problem consists of defining a DAX Measure that dynamically counts only first visits in the period for each patient . Visits that are not first in the period must be assigned BLANK() value. Please before discussing the goal let me introduce the scenario. Scenario: We have a model composed of one fact table ( F_Visits ) and two dimensions ( D_Customer ; D_Calendar ). F_Visits has 1M records and

How can I bring a record from another table with certain conditions from my table in DAX?

和自甴很熟 提交于 2019-12-11 18:39:34
问题 I have two tables. One with dates and customer ID's of tech support given [Table 1], and the other one with surveys sent to the customers [Table 2]). The problem is that the surveys are sent some days after the service is done. So, I need to find the survey ID with the closest date from the survey table and bring it to my tech support table. Here's a sample of my data and the result wanted. Table1: TechSupportDate CustomerID 01/12/2018 1 02/12/2018 2 05/12/2018 1 Table2: SurveyID SurveyDate

Power BI Service - refresh failure on using VSO API

假如想象 提交于 2019-12-11 17:23:24
问题 I have connected my Power BI report to the VSO data, using VisualStudioOnline connector (beta). Since this doesn't support the multi line text field data under it's data set, I have used the queries option to call the VSO API to fetch this data. The report refreshes successfully when used in Power BI desktop app. But the refresh fails when published to the Power BI service with the message "You can't schedule refresh for this dataset because the following data sources currently don't support

Keep historical data in local database to speed up Power BI

僤鯓⒐⒋嵵緔 提交于 2019-12-11 15:38:46
问题 Without a premium licensing, is it possible to simulate an incremental refresh to speed up Power BI Desktop? Say, we keep all the data before a certain date in a local Access database and connect to the "live" database only for data after that date? The question is how to export the historical data from one or several pbix file to Access, how can we do that? 回答1: Try doing it as a composite model. Load your archive data as one query using Import and your recent data as another query using

powerbi js export summarized data Error: Cannot read property 'Underlying' of undefined

 ̄綄美尐妖づ 提交于 2019-12-11 15:26:26
问题 i am trying to use exportData(summarized) of powerbi.js and getting the following error. TypeError: Cannot read property 'Underlying' of undefined at r.<anonymous> (reportembed.bundle.min.js:22) at a (reportembed.common.bundle.min.js:16) at Object.next (reportembed.common.bundle.min.js:16) at n (reportembed.common.bundle.min.js:16) at reportembed.externals.bundle.min.js:659 at m.$digest (reportembed.externals.bundle.min.js:670) at reportembed.externals.bundle.min.js:673 at e (reportembed

I will like a script in power bi that will calculate percentage increase or decrease from one month to the previous month

拈花ヽ惹草 提交于 2019-12-11 15:13:26
问题 I want to display percentage increase or decrease in total for each month as I select each month i.e when I click on FEB, it should tell me whether there was a percentage increase/decrease in expenses compared to JAN. I have tried different codes but keep getting an error message. Here is a DAX CODE I tried: change perc = VAR ValueLastMONTH = CALCULATE ( SUM ( population[TOTAL] ), FILTER ( population, population[MONTH] = ( EARLIER ( population[MONTH] ) - 1 ) && population[CATEGORY] = EARLIER

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.