Power BI

Power BI

9059 bookmarks
Custom sorting
Re: Tricky text search to identify companies with certain charachterisitcs
Re: Tricky text search to identify companies with certain charachterisitcs
If you have a term table like so (let's call it SecTerms): And then another table with a text column (let's call it Companies) like so: Then the following measure will work in a matrix: TermInstance = SUMX(SecTerms, SUMX(Companies, SecTerms[Weight]* (LEN(LOWER(Companies[De...
Power_BI_tips·community.powerbi.com·
Re: Tricky text search to identify companies with certain charachterisitcs
Use value from other row in dataset based on condition
Use value from other row in dataset based on condition
I am trying to do some advanced DAX/PowerQuery equations and I am coming up short and looking for some help. I have a dataset like the below and the use case is to get an average amount of time spent for each 'code'. To come up with that I need to take each true value timestamp and comare it agai...
Power_BI_tips·community.powerbi.com·
Use value from other row in dataset based on condition
DAX to countrow if sum condition is met
DAX to countrow if sum condition is met
Hi, Trying to work out the DAX measure to count the rows if the sum of the amount is greater than 0 per ClientID, but to no avail. Data is as follows: ClientID Amount 1 0 1 10 2 0 3 100 Each row is a meeting, and I need to count the number of meetings in the case that the sum of the amount p...
Power_BI_tips·community.powerbi.com·
DAX to countrow if sum condition is met
Re: Rolling 3 Month Sum
Re: Rolling 3 Month Sum
Maybe this: Rolling 3 Month Total = CALCULATE ( KPI_Finance_Actual_Budget[Actual Profit], DATESINPERIOD ( KPI_Finance_Actual_Budget[FullDate], LASTDATE ( PREVIOUSMONTH ( KPI_Finance_Actual_Budget[FullDate] ) ), -3, MONTH ) ) Although if "KPI_Finance_Actu...
Power_BI_tips·community.powerbi.com·
Re: Rolling 3 Month Sum
Power BI Desktop February Feature Summary | Microsoft Power BI Blog | Microsoft Power BI
Power BI Desktop February Feature Summary | Microsoft Power BI Blog | Microsoft Power BI
There are two themes for this month’s Power BI Desktop update. The first is a focus on some of your major asks including multi-selecting data points across multiple charts and syncing slicer values across multiple pages of your report. We also have a major update to our SAP HANA connector. Our second theme is a focus on performance improvements across three different areas of our product.
Power_BI_tips·powerbi.microsoft.com·
Power BI Desktop February Feature Summary | Microsoft Power BI Blog | Microsoft Power BI
DaxStudio/DaxStudio
DaxStudio/DaxStudio
DaxStudio - DAX Studio is a tool to write, execute, and analyze DAX queries in Power BI Designer, Power Pivot for Excel, and Analysis Services Tabular.
Power_BI_tips·github.com·
DaxStudio/DaxStudio
When is 22 true? - PowerBI DAX Search Within IF Statements - 5MinuteBI
When is 22 true? - PowerBI DAX Search Within IF Statements - 5MinuteBI
I needed to quickly create a calculation that tested for the presence of a string in another column's text values. There are two ways to solve this, but the first one is an interesting example that you can use in several situations. This solution plays on the true-false values of the DAX IF function in PowerBI.
Power_BI_tips·5minutebi.com·
When is 22 true? - PowerBI DAX Search Within IF Statements - 5MinuteBI
SUMX vs DISTINCT COUNT
SUMX vs DISTINCT COUNT
During the preparation for delivering a Power BI training session for a client, I was looking at the Tabular Data Model that was their data source, and I was struggling with a long running query. I…
Power_BI_tips·jlsql.wordpress.com·
SUMX vs DISTINCT COUNT
DAX optimization examples - SQLBI
DAX optimization examples - SQLBI
How do you optimize a DAX expression? In this session we analyze some DAX expressions and Tabular models and we will look at how to optimize them through th
Power_BI_tips·sqlbi.com·
DAX optimization examples - SQLBI
Runge-Kutta and the Limits of DAX
Runge-Kutta and the Limits of DAX
Introduction My recent foray into solving complex numerical/engineering problems with DAX such as Kaplan-Meier Survival Curves and Linear Interpolation led me to wonder what other kinds of problems I might be able to solve using Power BI and DAX. This inquiry led me to remember one of my fav...
Power_BI_tips·community.powerbi.com·
Runge-Kutta and the Limits of DAX
Tableau to Power BI: FIXED LOD Expressions
Tableau to Power BI: FIXED LOD Expressions
Every once in awhile, I encounter questions from a trainee or client who is familiar with Tableau but who is getting started with Power BI. They have the ability to do X in Tableau and want to know…
Power_BI_tips·dataveld.wordpress.com·
Tableau to Power BI: FIXED LOD Expressions
Re: DAX Forecasting Issue
Re: DAX Forecasting Issue
Hi everyone, Apologies for the delay. Here are the steps I used: 1.Create a supporting table. All my revenue groups were listed in the first column and in the second column i contained what type that revenue group belonged to (See Pic) 2. Then i created the following measure based on the ab...
Power_BI_tips·community.powerbi.com·
Re: DAX Forecasting Issue
Re: Array Formulae in Power BI
Re: Array Formulae in Power BI
Sorry I was away for a while Try this = CALCULATE ( VALUE ( MEDIAN ( Table1[Age] ) ), ALLEXCEPT ( Table1, Table1[Company], Table1[Gender] ) )
Power_BI_tips·community.powerbi.com·
Re: Array Formulae in Power BI
Power BI Desktop: Custom Aggregations, Formating and Performance Indicators (Part 1)
Power BI Desktop: Custom Aggregations, Formating and Performance Indicators (Part 1)
This multi-part tutorial blog is geared to help BI Analysts create versatile Scorecards with KPIs as well as to facilitate the business reporting transition from Excel, SSRS or other apps to Power BI Desktop. In this initial installment, I will illustrate how to include more than one aggregation a...
Power_BI_tips·community.powerbi.com·
Power BI Desktop: Custom Aggregations, Formating and Performance Indicators (Part 1)
Using Table Iterators to calculate a future value
Using Table Iterators to calculate a future value
Often we use the Power of DAX statements to create complex calculations that provide tremendous insight into our data. But sometimes there are calculations that seem easy from an Excel point of view, but not possible in DAX. Excel provides the great possibility to create formulas referencing other cells or even ranges that reside in remote spreadsheets. One kind of this calculation type is the iterative application of an interest rate over a timeseries to an investment where the amount of interest adds to the investment in the next period. This means, you have to use the concept of compound...
Power_BI_tips·minceddata.info·
Using Table Iterators to calculate a future value
Power BI – What If Parameter
Power BI – What If Parameter
A What If Parameter allows for the visualization and analysis of the effects of a change in a variable. The example I use in this post is a salary cap projection. A fictitious sports team has historic…
Power_BI_tips·feathersanalytics.com·
Power BI – What If Parameter
Re: Weekly %Variance in sales
Re: Weekly %Variance in sales
, Change %v to the following. %v = IF(ISBLANK(MAX(tbl_SalesDaily[previousweekofyear])),0,[DIFFERENCE]/MAX(tbl_SalesDaily[previousweekofyear])) Regards, Lydia
Power_BI_tips·community.powerbi.com·
Re: Weekly %Variance in sales
Re: Populating future dates with previous year and same month results?
Re: Populating future dates with previous year and same month results?
Hi I've added in the additional checks for those columns (highligted the changes in red-bold) Parallel = VAR MyDate = DATE('Table'[year],'Table'[month],1) VAR SumOfMonthLastYear = SUMX( FILTER( 'Table1', 'Table'[year] = EARLIER('Table'[year]) - 1 && ...
Power_BI_tips·community.powerbi.com·
Re: Populating future dates with previous year and same month results?
Date range
Date range
This quick measure returns the selected date range formatted in accordance with the Wikipedia Manual of Style. The date format can be customized by changing the parameters listed below. NAME: Date range DESCRIPTION: Write out the selected date range. PARAMETERS: Name: Date Tooltip: Calendar ...
Power_BI_tips·community.powerbi.com·
Date range
Webinar Followup: Be a Full Stack #PowerBI Jedi - DataChant
Webinar Followup: Be a Full Stack #PowerBI Jedi - DataChant
In today’s post, I am sharing a follow-up to my webinar, that will allow you to refresh the queries, and enjoy the support of scheduled refresh on Power BI service. During the webinar (you can watch it here, if you missed it), I created a custom function that paginates over multiple pages, and was asked …
Power_BI_tips·datachant.com·
Webinar Followup: Be a Full Stack #PowerBI Jedi - DataChant
Re: Possible Analytics function: dynamic Total column in chart with USA States?
Re: Possible Analytics function: dynamic Total column in chart with USA States?
, Drag [State] from the calculated table to Axis and measures below to Value. Measure = VAR s = SELECTEDVALUE ( 'Table'[State] ) RETURN IF ( s = "Total", SUM ( ValueTable[Regular jobs] ), CALCULATE ( SUM ( ValueTable[Regular jobs] ), FactTable[State] = s ) ) Mea...
Power_BI_tips·community.powerbi.com·
Re: Possible Analytics function: dynamic Total column in chart with USA States?
Create Dynamic Forward Forecasts in Power BI with DAX
Create Dynamic Forward Forecasts in Power BI with DAX
Have you ever wanted to create automatic forecasts based on historical information? In the past, this was relatively difficult to do using tools like Excel but I’m going to show you in this video t…
Power_BI_tips·blog.enterprisedna.co·
Create Dynamic Forward Forecasts in Power BI with DAX