User Profile
kopite833
Frequent Visitor
Joined 5 years ago
User Widgets
Contributions
Re: LINESTX bugs
Suggest a better implementation of LINESTX would be... LINESTX ( <table>, <expressionY>, <expressionX>, <const>, <regressiontype>, <ouput>) Where <regressiontype> and <output> provide options user chooses, as follows... Regression type: linear, polynomial_2, polynomial_N (up to 6, like Excel), etc Output: slope(s), intercept, standarderrorslope(s), line values, other stats, etc620Views0likes0CommentsLINESTX bugs
Using Power BI Report Server, the following issues exist for LINESTX... LINESTX does not report values in row context, so variance to Y-Axis values cannot be calculated... KnownX values must be placed in the X-Axis field well to display and evaluate the line... Polynomial regression does not appear to work... Order3PolyRegression = VAR Line = LINESTX ( ALLSELECTED ( Trade[KnownX] ), [KnownY], [KnownX], [knownY], [KnownX] ^ 2, [knownY], [KnownX] ^ 3 ) VAR Slope1 = SELECTCOLUMNS ( Line, [Slope1] ) VAR Slope2 = SELECTCOLUMNS ( Line, [Slope2] ) VAR Slope3 = SELECTCOLUMNS ( Line, [Slope3] ) VAR Intercept = SELECTCOLUMNS ( Line, [Intercept] ) VAR x = SELECTEDVALUE ( Trade[KnownX] ) VAR Result = ( x ^ 3 * Slope3 ) + ( x ^ 2 * Slope2 ) + ( x * Slope1 ) + Intercept RETURN Result681Views0likes3CommentsRe: DAX Polynomial Regression Calculation Issue
Found a solution for a 5x5 matrix using Chio method of expansion and Cramer's Rule, parsing the solution vector into a series of matrices, to calculate determinants divided by the original determinant to solve for the polynomial regression coefficients... https://1drv.ms/x/s!AsId0OAmsuzuhOEh7CR03iyUCLAbng?e=WKULj95.2KViews0likes1CommentTabular Editor with PBIRS
Hi, I've installed Tabular Editor (2.17) and am trying to use with Power BI Report Server (May 2021 release). Other posts on the these forums suggest enabling 'enhanced metadata format' within 'preview features', but my version of PBIRS cannot access these. Am I missing something, or is Tabular Editor not compatible with PBIRS? ThanksSolved3KViews1like2CommentsFilter DAX query by result of cube measure
Hi, This script queries an OLAP cube and I must filter the result to only retrieve records where daily hours = 24 (e.g. [Roster Actual Sum Hours Nett] = 24). E.g. of intended results are as follows... Staff ID Roster Week Date Hours How query should handle this... 00001 WE 27-Jul 26/07/2021 8 Do not retrieve 00002 WE 27-Jul 25/07/2021 24 Must retrieve How must I modify to achieve these results? DEFINE VAR EndDate = IF ( WEEKDAY ( NOW (), 1 ) = 4, NOW () - MOD ( WEEKDAY ( NOW (), 1 ) + 3, 7 ) - 8, NOW () - MOD ( WEEKDAY ( NOW (), 1 ) + 3, 7 ) - 1 ) VAR StartDate = EndDate - ( 7 * 52 ) + 1 EVALUATE SELECTCOLUMNS( SUMMARIZECOLUMNS( Staff[StaffNumber], 'Date'[RosterWeekLabel], 'Date'[TransactionDate], 'Pay Type'[Description], Site[SiteName], 'Roster Type'[RosterType], FILTER(KEEPFILTERS(VALUES( 'Date'[TransactionDate] )), 'Date'[TransactionDate] >= StartDate), FILTER(KEEPFILTERS(VALUES( 'Date'[TransactionDate] )), 'Date'[TransactionDate] <= EndDate), "Roster Actual Sum Hours Nett", [Roster Actual Sum Hours Nett] ), "Staff ID", [StaffNumber], "Roster Week", [RosterWeekLabel], "Date", [TransactionDate], "Hours", [Roster Actual Sum Hours Nett] )Solved1.4KViews0likes1CommentCustom Stacked Bar Chart
Hi, does anyone know of a custom visual that will help me produce this kind of visual? It's a multi-level stacked bar chart. Clicking on region reveals all countries in the region, then clicking on a country reveals all provinces / states in the country.826Views0likes0Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.