Rolling average by week number
Could someone help me with creating either a calculated column or measure to find a 4 week rolling average? I am using the week number and it seems as if the Dax calculations do not recognize the week...
View Articlecalculate percentage change
Hi, I have downloaded the census population data from NZ Stat in csv format. Want to calculate percentage change for each district, across each ethnicity from the year 2006 to 2013. Is there any...
View ArticleHow to create Year, Month, Date hierarchy while creating reports in Power BI
Hi All, I have created a report in power BI, this has seperate month and year fields in a period dimension. but i have difficulties in making a hierachy for it. eg: year 2016 month January or year...
View ArticleIs it possible to use the PowerBI datamodel as an input to the R-script?
So far all the examples I've come across read a csv file to further process using a R-script as the "input data". Is there a function to read tables alsready existing in PowerBI datamodel? I know the...
View ArticleDisplay and slice by current financial period
Hi, I've been looking around to try and find how to setup so I can setup measures and a slicer that is limited to the current financial periods (year, quarter, month) automatically. I haven't been able...
View ArticleCustomize sorting order in the column items of a matrix table
Dear Friends, I have a list of items in my report pan in PBI ( as shown in attached picture), The PBI only let me to order the values for "list of metrics" based on alphabetical order (either...
View ArticleAggregate method -Matrix
P1 P2 P3Houses Sold 12 14 9Max Price $100k $210k $150kMed Price $115k $182k $148kFastest Sale 3days 9dday 7daysis there any way of displaying sum, max, avg and...
View Articlepercent of grand total
I have the data in groups (age_groups) by year (2015 & 2016). I want percentage by age_group to be based on total / year (e.g. 1462 for 2015) and not by the grand total of 2925.
View ArticleAccessing data via ESB such as webMethods, using webServices
Hi there, We are establishing integration between a multitude of systems, using webMethods to orchestrate the web services. The idea is that all data will be sourced directly from the source system,...
View ArticleCreating a landing page from Sharepoint Groups
Hi there, I've heard PowerBI can access groupd from within Sharepoint - I'm not clear on this though, and would appreciate any reference material? Following that, I'm wondering whether these Sharepoint...
View ArticleDAX query for given dates?
Hello, At the moment we are using the following query to convey data to us based on YESTERDAY'S data: = Webtrends.Tables("100886", Date.AddDays(Date.From(Date.From(DateTime.FixedLocalNow())), -1),...
View ArticleCalculating drawdown - running total with condition
Hello, I would like to calculate drawdown on trading account, quite easy in excel, not very easy in Power BI for me. I have following data set Trade No., Net profit and I would like to calculate...
View ArticleGroup by in a new column
Hi everyone! I want to add a new column with the family of the items in a table.There is any formula in which you give a list of values and if the value is matched then you make an action.Something...
View ArticleIF Function - 2 Conditions,
Hi I’m trying to add multiple conditions to an IF function within a calculated column in order to register an employees status as either active or inactive. The way I’m determining Status is via two...
View ArticleRemove duplicates based on values
Hi, I'm trying to remove rows based on duplicate values in a column. I know how to use the Query Editor to do this. However, the duplicate values in that column has different values corresponding to it...
View ArticleNeed to use slicer value on mutilple query fields
For simplicity's sake, I have a home sales count report showing week-to-date sales and closing counts for homes that have sold or closed during a given week. To simplify this I am using a date...
View ArticleDirect Query and Query Parameters
Hi guys, As far as I can see usage of Query Parameters in DirectQuery mode is not well supported and please let me know if I'm wrong about it. I'm trying to create report with Azure SQL Database as...
View ArticleMeasures Filtered By Dimensions
This has probably been answered but im not sure what this is called so I'm not finding it. I essentialy want to create measures filtered on dimension values (I think, im sure there is a better way than...
View ArticleCOUNTROWS using If OR
Hi, How would I modify the following measure - OnTime = CALCULATE(COUNTROWS ( FILTER ( OTIF, OTIF[ShiftInTime] = OTIF[TimeFrom]*[targetperc OT]))) to also multiply by [targetperc OT] if...
View Articleissues with horizontal scrolling
7000 rows excel imported into desktop BI. have a line graph with horizontal dates - lots of dates (about 3 per date so about 2500 date points) - ~10 years of dates sliding/scrolling left to right is...
View Article