powerbi-desktop

How to create dynamic ranking that would respond by date slicer in Power bi

北城余情 提交于 2020-01-16 08:05:12
问题 I simply need to create ranking column for each ClaimantID based on TransactionDate DESC. example .pbix file can be found here: https://www.dropbox.com/s/9dsnylng70t5a8i/Count%20Open%20and%20Closed%20at%20Point%20of%20time.pbix?dl=0 On a picture below I have two unique claims with TransactionDate. So how can I RANK ClaimantID by TransactionDate in descending order? I tried to create column Rank. But it does not give me desirable result: Rank = RANKX( CALCULATETABLE( Claimants ,ALLEXCEPT

Average of Each months last date (MAX date) value

孤街浪徒 提交于 2020-01-14 03:34:07
问题 I am looking to calculate AVG OF EACH Month's last date (MAX date) value. Below is the sample data. Can you please someone help me with the DAX caluclations. Much appreciated. Please let me know if you need more information. Location DATE NAME VALUE P1 1/1/2019 0:00 ABC 12 P1 1/2/2019 0:00 ABC 4 P1 1/3/2019 0:00 ABC 50 P1 1/4/2019 0:00 ABC 8 P1 1/5/2019 0:00 ABC 35 ABC MaxDate value of JAN P1 1/1/2019 0:00 DEF 20 P1 1/2/2019 0:00 DEF 25 P1 1/3/2019 0:00 DEF 66 P1 1/4/2019 0:00 DEF 24 P1 1/5

Inactive relationships affecting measures

随声附和 提交于 2020-01-05 04:33:11
问题 I have the following tables & relationships in our pbix report: For some obvious reasons, I need to have a relationship (non-active) between Dates[date] and Table2[T2Date]. However, doing so causes data fluctuation to measure 'Total Amount' in Table1. Here are some screenshots: Before Relationship (Dates[date] - Table2[T2Date]): After Relationship (Dates[date] - Table2[T2Date]): I need to understand why this difference is coming up and how the relationship is causing it since the measure uses

Weird behavior on Power BI Service: Visual level filter automatically resets to “All” on specific page only

僤鯓⒐⒋嵵緔 提交于 2019-12-25 04:06:08
问题 My report has several pages showing data of a survey. I have various metrics, each fetching data from different/individual tables. All have filters applied on "key" column, as it should "not be null". Everything works fine on power bi service, except one matrix for which the key filter automatically resets to "all" instead of "not null" upon publishing to Power BI service. Any sort of help will be appreciated. 来源: https://stackoverflow.com/questions/53939831/weird-behavior-on-power-bi-service

calculate sales for previous dates (mid-month and end month) using DAX

♀尐吖头ヾ 提交于 2019-12-24 18:32:21
问题 I am very new to DAX and i want sum of sales for the previous months. As you can see, the dates are : The 15th of every month and the last day of every month. Can anyone please help me? I want when i use the date as a filters , when i chose a date, i want the measure to give me the results of the previous date. 回答1: Have you tried making a calculated column that shows the "previous date" for each date. If that is successful then possibly you could return the result using the date from the

Power BI - Show only data that belongs to the required selection (And Logic)

拈花ヽ惹草 提交于 2019-12-24 11:22:33
问题 I have a table like this Role Skills Resource Data Analyst R A Data Analyst Python A Data Analyst SQL B Business Analyst SQL A My Skills are on filter. I have multiple visuals on the dashboard. And If I select SQL and Python then the results of both Data Analyst and Business Analysts are getting displayed in the visual. But, I want it to display only the Data Analyst results because only Data Analyst has all the selected skills. To achieve this, I think of creating a measure and putting it on

Overlapping bar chart with multiple axis in PowerBi

喜你入骨 提交于 2019-12-24 01:37:28
问题 I would like to have a overlapping bar chart in PowerBi with multiple axis. I have an example from Excel which I would prefer to recreate in PowerBi if this is possible. Here the example: Is this possible in PowerBi? Maybe by using a custom visual I don't know off. Thanks in advance, 回答1: Multiple axes? Yes! Overlapping bars? No! Using a Line and Clustered Column Chart is the way to go: Here's a demo using some random numbers: Date A B C 07.08.2018 0,359008828 0,993689927 0,8 08.08.2018 0

How to generate PDF output of powerbi embedded report

跟風遠走 提交于 2019-12-22 05:23:14
问题 I have a powerbi report embedded to my webpage. What I need is to add an "export" button to my page and export the report to the PDF when the button is clicked. How can I achieve this? People online advises using report.print() or window.print() , but both did not work for me. var reportContainer = document.getElementById('reportContainer'); var report = powerbi.embed(reportContainer, config); var report2 = powerbi.get(reportContainer); console.log(report); --returns the report console.log

Power BI - Find the % matching (Bounty 100) What-if analysis before and after

一个人想着一个人 提交于 2019-12-19 09:55:26
问题 I have a requirement where I have a table like this, Role Skills Developer C Developer SQL Developer C++ Data Analyst R Data Analyst Python Data Analyst SQL Business Analyst Excel Business Analyst SQL And I need to create something like this in Power BI, Explaining the first result for a Business Analyst in Power BI Visual Table, From Filter 1 - I have selected Data Analyst - whose actual skills are R, Python and SQL From Filter 2 - I have selected a new skill (Upskill) as Excel. So now, he

How to get active rent's details for given month using power bi [closed]

你。 提交于 2019-12-13 08:29:46
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 9 months ago . I want to show active rent's details for given month in power bi. I have a table where i have rent details. In that table i have start date, end date and how many months. So when i select a month in power bi visual i want to show what are the rents currently active using power bi Example House A 1