Found 447 bookmarks
Newest
Calculating an average by person
Calculating an average by person
I've been searching over and over, but I can't find the solution - so I'm afraid that there isn't any solution to this. I have a table ("Time reports") with all reporting for our employes, grouped by Person and Date. The table looks like this example:   Date Person Billed hours 2017-04-12 Joe 5 201...
Power_BI_tips·community.powerbi.com·
Calculating an average by person
SQLBI - Marco Russo : Median calculation in DAX
SQLBI - Marco Russo : Median calculation in DAX
I recently discussed with Darren Gosbell about how to calculate the Median in DAX. The problem is to make the calculation using a measure, so that you can use it in a dynamic way into a PivotTable. We have a People table with three columns: Gender, Customer
Power_BI_tips·sqlblog.com·
SQLBI - Marco Russo : Median calculation in DAX
Statistical Patterns – DAX Patterns
Statistical Patterns – DAX Patterns
DAX Patterns is a collection of ready-to-use data models and formulas in DAX, which is the programming language of PowerPivot. Create your Excel data model faster by using a DAX pattern!
Power_BI_tips·daxpatterns.com·
Statistical Patterns – DAX Patterns
Solved: Change Measure Format - Microsoft Power BI Community
Solved: Change Measure Format - Microsoft Power BI Community
I am unable to change the format of a measure. The Formatting section of the Modeling tab only allows Format: Text to be selected. Here's the measure: NHSSVUNNetAssets = CALCULATE(MEDIAN(AuditNumbers[UnrestNA]),AuditNumbers[PCODE]="8217")   It's possible I am using the wrong DAX. For example, Media...
Power_BI_tips·community.powerbi.com·
Solved: Change Measure Format - Microsoft Power BI Community
Design Pattern - Groups and Super Groups!
Design Pattern - Groups and Super Groups!
The Challenge A fairly common data model design pattern can be described such that: Given a set of criteria that are numerically scored These scored criteria are grouped together in arbitrary sets and the group scored via an aggregation of criteria scores These groups of scores are further grouped ...
Power_BI_tips·community.powerbi.com·
Design Pattern - Groups and Super Groups!
Solved: Find duplicate values in the slicers context - Microsoft Power BI Community
Solved: Find duplicate values in the slicers context - Microsoft Power BI Community
Hi!   I've been spending my day banging head to the wall with this problem. I need to check if value is a duplicate of value in the same column that is filtered by slicer.   Slicer Part code Has duplicates 1 14 FALSE 1 15 FALSE 1 16 FALSE 2 14 TRUE 2 15 FALSE 2 16 FALSE 2 14 TRUE     I was going for...
Power_BI_tips·community.powerbi.com·
Solved: Find duplicate values in the slicers context - Microsoft Power BI Community
Solved: MarketShare with DAX on Power BI - Microsoft Power BI Community
Solved: MarketShare with DAX on Power BI - Microsoft Power BI Community
I got really stumped for my whole day on how to display marketshare on Power BI. My data is kind of complicated but I will try to simplify the problem in here, assume I have two tables:   1. Dimension Supplier:     2. FactInvoice:     I would like to display the marketshare (Sum of Spend) for one ...
Power_BI_tips·community.powerbi.com·
Solved: MarketShare with DAX on Power BI - Microsoft Power BI Community
Solved: How to obtain the most common value from a column ... - Microsoft Power BI Community
Solved: How to obtain the most common value from a column ... - Microsoft Power BI Community
Greetings,   I was wondering if there was a way to display the most common value in a column? For example:   Reported_Users UserA UserB UserC UserA UserA UserA   Here UserA is the most common user. So I was thinking of trying to display it with a  "Card" visual.   I think I read somewhere it's possi...
Power_BI_tips·community.powerbi.com·
Solved: How to obtain the most common value from a column ... - Microsoft Power BI Community
Solved: Bucketing Cumulative Total using DAX - Microsoft Power BI Community
Solved: Bucketing Cumulative Total using DAX - Microsoft Power BI Community
Hi   How can I represent the following using DAX. I am trying to Bucket the following Sales Quantity per Customer:   Customer Quantity A 0 A 200 A 300 B 100 C 80 C 20 D 50 D 25 D 25 D 0 TOTAL 800   and represent the following in Buckets of 3 as Top 20%, Mid 60% and Bottom 20% of the Total as below: ...
Power_BI_tips·community.powerbi.com·
Solved: Bucketing Cumulative Total using DAX - Microsoft Power BI Community
Solved: Report showing realised values and estimate for re... - Microsoft Power BI Community
Solved: Report showing realised values and estimate for re... - Microsoft Power BI Community
Hi,   I need to create a report that will show me realised values and estimated values for the rest of the year.   The report should be a table having finance accounts on rows and months in the columns. If the user filter the year to 2017 and month to april the first 4 columns should show realised v...
Power_BI_tips·community.powerbi.com·
Solved: Report showing realised values and estimate for re... - Microsoft Power BI Community
Can EARLIER be used in DAX measures? | Javier Guillén
Can EARLIER be used in DAX measures? | Javier Guillén
EARLIER is a DAX function that acts exclusively on row context,  and its purpose is to create a reference to a column value on an outer loop of the evaluation of the expression.  It is commonly use…
Power_BI_tips·javierguillen.wordpress.com·
Can EARLIER be used in DAX measures? | Javier Guillén
Favorite Quick & Easy DAX: Calculate Moving Averages with EARLIER - The Blend: A West Monroe Partners Blog
Favorite Quick & Easy DAX: Calculate Moving Averages with EARLIER - The Blend: A West Monroe Partners Blog
Sometimes reporting data values day-by-day can create the impression of dramatic ups and downs, when really what we want to see is the general trend of changes over time.  We need, in other words, to create a chart based on moving averages.  Such a measure is commonly used in tracking the price of stocks, but […]
Power_BI_tips·blog.westmonroepartners.com·
Favorite Quick & Easy DAX: Calculate Moving Averages with EARLIER - The Blend: A West Monroe Partners Blog
SSRS like traffic light indicators in Power BI - Microsoft Power BI Community
SSRS like traffic light indicators in Power BI - Microsoft Power BI Community
As I remember managers used to love SSRS reports for their availability of traffic light indicators which are useful way of measuring KPIs, trends etc. During my recent Power BI engagements with clients I have been asked few times if similar can be achieved in Power BI and my answer to that was, y...
Power_BI_tips·community.powerbi.com·
SSRS like traffic light indicators in Power BI - Microsoft Power BI Community
Solved: cross frequency calculation - Microsoft Power BI Community
Solved: cross frequency calculation - Microsoft Power BI Community
Hello community,   I have a question related to the frequency golf players are linked to each other during a competition. Imagine players are grouped together in several flights during one day, and grouped together differently in flights the next day. This continuous during the season. Now I want to...
Power_BI_tips·community.powerbi.com·
Solved: cross frequency calculation - Microsoft Power BI Community
Solved: Find the Distinct Value based on other columns - Microsoft Power BI Community
Solved: Find the Distinct Value based on other columns - Microsoft Power BI Community
Hi,   I want to create a dax formula that will produce a list of unique guest values from Column A, and find only the distinct value in column B (Host) based on the latest date.  The final report will only have a list of distinct guests and one host per guest.  Although, I would expect to see multip...
Power_BI_tips·community.powerbi.com·
Solved: Find the Distinct Value based on other columns - Microsoft Power BI Community
Calculate ranks after filters
Calculate ranks after filters
Is it possible to dynamically calculate ranks based on filters? If I filter B, D, E can I see the new ranks as 1, 2, 3?
Power_BI_tips·community.powerbi.com·
Calculate ranks after filters
Solved: Show the last X years based on the current Selecti... - Microsoft Power BI Community
Solved: Show the last X years based on the current Selecti... - Microsoft Power BI Community
Hi Everybody   How can I write a DAX expression that show only the Sales of the last 5 five years based on the current selection of the year. For Example: -If I select 2015, the chart should show only sales for the years 2015, 2014, 2013, 2012, 2011 -If I select 2012, the chart should show only sale...
Power_BI_tips·community.powerbi.com·
Solved: Show the last X years based on the current Selecti... - Microsoft Power BI Community
Solved: Take facts with different max dates - Microsoft Power BI Community
Solved: Take facts with different max dates - Microsoft Power BI Community
Hi all.   I am new in this community, and very dummy in Power Bi. I have a fact table with a link to a master calendar by the date. The problem I have is this: I have created a mesure this way:   Valor Euros = SUMX(FILTER( 'Hechos Hstock_valorado' ;  RELATED(Tiempo[Fecha]) = max(Tiempo[Fecha]));'Hec...
Power_BI_tips·community.powerbi.com·
Solved: Take facts with different max dates - Microsoft Power BI Community
Calculate an average for last 3 months
Calculate an average for last 3 months
Hello,   I want to calculate the following: the average for the last 3 months and i want to project this data for the rest of the year.   For example: the data for the first 3 months is real data   jan    feb   mar     apr     may     jun    jul 10      20    30        20      20       20     20   I...
Power_BI_tips·community.powerbi.com·
Calculate an average for last 3 months