This article describes how to create a table with a series of numbers in DAX by using the new GENERATESERIES function or through a workaround using CALENDAR
Local #dax measures in #powerbi reports are not visible from #Excel
You can connect an Excel workbook to a Power BI model in two ways: Using the Analyze in Excel action in powerbi.com Using the Connect to Data action in the
Power BI (DAX and M) vs. R: A Summer of Perspective
Zoe Helps Me Answer a Long-Simmering Question This summer we welcomed Zoe Stein (an Industrial Engineering major from Georgia Tech) to the team for a summe
NAME: Arrow Rating DESCRIPTION: This quick measure shows an up arrow or down arrow when comparing a target value against a target value, or else "--" if not. Can also be inverted if a lower value is better compared to the target. PARAMETERS: Name: Base Value Tooltip: Your base value / measure. T...
Solved: Is there a way to implement an event-specific DATE... - Microsoft Power BI Community
Hello, I want to calculate the time difference of same type occurrences. What I already did was to get my data in the following format by duplicating the table (and adding index columns, one beginning with 0 and the other with 1) and merging them by means of a outer join. Then I added a calculated...
Solved: DAX Measure - Percent of Total Revenue = Multiple ... - Microsoft Power BI Community
I have been working with DAX for quite some time now, and I've come across a rather complex Percent of Total Revenue request. I'm thinking DAX should be able to accomplish this fairly easily as Pivot Table calculated fileds makes it easy enough. First off, to calculate Percent of Total Revenue for...
I was giving my Row Level Security session last weekend for the Richmond User Group ( @RichmondSQL http://rva.pass.org/) and a question came up (ok, so I technically asked the question). How does the feature work with indexed views? Generally speaking,
This article describes how DAX resolves column and measure names in DAX, providing best practices to avoid conflicting names. A fundamental rule you should
Solved: Create a string tooltip with total - Microsoft Power BI Community
Hi, I'm trying to create a measure to be used as a tooltip in a treemap. The tooltip should show a list of the top 5 sub-items with a total. For example, each tree item in the chart is a state. The tooltip should show the 5 top cities in the state and the total value for each city. I'm able t...
Solved: measure to calculate a population by tiers - Microsoft Power BI Community
I have a table with a population of people and a value per person. I need to build a single measure to calculate the average value by tier. The tiers should be defined by % of people sorted by value, e.g. 60% bottom, next 20% and top 20%. Usage of a parameter table to easily adapt the numbers and ...
Solved: Cumulative counting based only on the earliest dat... - Microsoft Power BI Community
Hello, I am currently working with a data set to produce cumulative counts (which I have working perfectly) however I have a problem with my next step. The data should all at some point go through "Stage 1" however due to various reasons it doesn't always happen. My data looks like this: ID ...
Solved: display calculated values for a timespan - Microsoft Power BI Community
Hello, I'm new to Power BI and I'm stuck with a problem. I have a table with calls including the fields customer, start_date and end_date No I want to see how many call are active during a given period (line chart or similar over the period would be good) e.g. Customer Start_Date End_Date A 27.06....
This article describes how to create a virtual relationship in DAX using the TREATAS function, which is more efficient than approaches based on INTERSECT or
Dynamic data comparisons using disconnected slicers, TreatAs and inactive relationships – Kasper On BI
Got a good question this week that had me scratching my head for a bit but then I remembered a new function that was added to Power BI (and SSAS) recently called TreatAS. Marco covered it in detail…
The DAX Unichar() Function And How To Use It In Measures For Data Visualisation – Chris Webb's BI Blog
A few weeks ago I was asked whether it was possible to display line breaks in text in a Power BI visualisation. It turns out it isn’t possible – at the moment Power BI always strips line breaks out…
Power BI – Problem, Design, Solution (Text Search Slicer) – Devin Knight
There is a video that walks you through the solution in depth, please find the video at the end of this post along with the completed solution. In this installment of the Problem, Design, Solution …
Normalize Numeric Data - Microsoft Power BI Community
Normalize numeric data from several independent ranges to a uniform scale ranging from 0 to 1. This can be used as a precursor for clustering, creating parallel coordinates plots, and more. Follows formula: (x-min(x))/(max(x)-min(x)) Using the DAX measure: Normalized Value = VAR MinOfGroup = CA...
Solved: N Customers bring 50, 30, 20% Revenue - Microsoft Power BI Community
Hi Everyone, So I have a following Data Set: Revenue CustomerKey 10 1 20 2 30 3 25 4 45 4 60 5 100 3 What I am struggling with is getting how many customers bring 50, 30 and 20% of Revenue respectively. I am trying to get: % Revenue Customers 50% X 30% Y 20% Z You help would be much appre...
Solved: Compare data of one week with the data of the week... - Microsoft Power BI Community
Hi, I've got some Google Searchconsole Data and I want to create a tile that compares the Average Position on a certain date, which is chosen by a slicer, with the Average Position one week earlier. The following just gives me a "(Blank)": AveragePositionOneWeekEarlier = CALCULATE ( [AveragePosi...
Solved: Weighted Average - Microsoft Power BI Community
A B C D E 1 A o 1 0.8 2 A o 212 0.5 3 A o 23 0.2 4 A o 45 1 5 B o 343 0.3 6 B o 32 0.4 7 B o 234 0.5 8 B o 213 0.6 9 C v 65 0.7 10 C v 678 0.8 11 C v 564 0.6 12 A v 23 0.6 13 A v 12 0.6 14 A v 32 0.6 15 A v 11 0.6 16 E v 22 0.6 I have the above table ... I wanted to calculate the weighted avarage ...
Solved: new customers based off transaction history - Microsoft Power BI Community
Hi, I'm trying to figure out how to idenitfy new merchants based off transaction data. I have a transaction table that has merchant info included. The firstdate function looks like it has worked when I create a table of merchant ID and first transaction date. But I'm not sure how to sum the new me...
Solved: Dynamic filter between range dates - Microsoft Power BI Community
Okay, here is a head scratcher for you all. I have a table in Power BI which list contract dates. So it will have columns such as below.. Product StartDate EndDate LOS Product1 20/11/17 30/11/17 11 Product2 02/01/16 19/03/16 78 I need to work out how long a produ...
Solved: Average over time vs. sliced average - Microsoft Power BI Community
Hi, I'm hoping to use PowerBI to show overall market trends as well as trends in individual accounts. My data has several different slicers, e.g. location, device type, etc. Is is possible for me to show two lines on a line graph, one for the overall marketplace average, and one for the individu...
Solved: Calculated Filed to identify repeating/new clients - Microsoft Power BI Community
Hi guys, Would appreciate some's help with this; I have a SALE Table and a Calendar Table with Financial Years ending June. I would like tp categorise clients in the Sales table as "New" or "Exisitng". If a client was invoices in the previous financial year then its flagged as "Exisiting". If a ...
Solved: Creating criteria for DAX formulas - Microsoft Power BI Community
Hi All, I'm new to BI, and would really appreciate your input on what would be the next steps to take for a report I'm working on. Currently, I've a list of projects (PO's), with several criteria that need to be met before they are completed. Once all criteria are met, the PO in general is complet...