azure analysis services tabular model
3 TopicsIs there any method to avoid rebuilding excel pivot migrating from SSAS MOLAP Cube to Tabular Cube?
Dear Experts, Please advise is there any method to migrate all our excel pivot reports (Live Connection Reports) from SSAS MOLAP Cube to SSAS Tabular Cube as we are moving Azure Anlaysis Service?Solved1.4KViews0likes6Commentscalculated columns are not populated in Bridge table correctly
Hi, Although this question directly relates to Azure Analysis Service but still posting in the power bi. I have a model in AAS and there I have to create some calculated columns. First I tried to create that in on of the actual table and it gave me circular dependency (because in my model maximum of my actual tables are connected through bridge tables). Then I tried to implement those calculated columns in the bridge table but the column is coming as blank in report. When I debug the DAX I found that the filter (which I am using in DAX ) is not working when I am calculating the column. I am sharing my code and the model snap shot here. CalculatedGTWDate_SLN:: =VAR GTWDate = SWITCH ( TRUE (), ISBLANK ( MIN ( SFDC_Opportunity_NBV[GTWClosedDate] ) ), DATE ( 9999, 12, 31 ), DATE ( LEFT ( CALCULATE ( MIN ( SFDC_Opportunity_NBV[GTWClosedDate] ), ALLEXCEPT ( SalesR48NBVBySolution, CalculatedAccountNumber_NP[AccountNumber], SalesR48NBVBySolution[Program],SalesR48NBVBySolution[L3Code] ) ), 4 ), RIGHT ( LEFT ( CALCULATE ( MIN ( SFDC_Opportunity_NBV[GTWClosedDate] ), ALLEXCEPT ( SalesR48NBVBySolution, CalculatedAccountNumber_NP[AccountNumber], SalesR48NBVBySolution[Program],SalesR48NBVBySolution[L3Code] ) ), 7 ), 2 ),1 ) ) RETURN GTWDate CalculatedFirstPurchaseDateAfterGTWCloseDate_SLN:: =VAR GTWDate = CalculatedAccountNumber_NP[CalculatedGTWDate_SLN] RETURN CALCULATE ( MIN ( SalesR48NBVBySolution[invoicedate] ), SalesR48NBVBySolution[InvoiceDate] >= GTWDate ) CalculatedCloseDateVSFirstPurchaseDate_SLN:: =DATEDIFF(CalculatedAccountNumber_NP[CalculatedFirstPurchasedateAfterGTWClosedDate_SLN], MAX(SFDC_Opportunity_NBV[ClosedMonth]),MONTH) CalculatedAnnualization_SLN:: =VAR Denominator = (CalculatedAccountNumber_NP[CalculatedClosedDateVSFirstPurchaseDate_SLN]+ 1 ) VAR Sales = CALCULATE ( SUM ( SalesR48NBVBySolution[TotalSales] ), FILTER ( SalesR48NBVBySolution, SalesR48NBVBySolution[invoicedate] >= CalculatedAccountNumber_NP[CalculatedFirstPurchasedateAfterGTWClosedDate_SLN] ) ) VAR R6AnchorSales = CALCULATE ( SUM ( SalesR48NBVBySolution[TotalSales] ), FILTER ( SalesR48NBVBySolution, SalesR48NBVBySolution[invoicedate] >= EDATE ( CalculatedAccountNumber_NP[CalculatedFirstPurchasedateAfterGTWClosedDate_SLN], -6 ) && SalesR48NBVBySolution[invoicedate] < CalculatedAccountNumber_NP[CalculatedFirstPurchasedateAfterGTWClosedDate_SLN] ) ) RETURN IF ( ISBLANK ( R6AnchorSales ), IF ( NOT (ISBLANK ( CalculatedAccountNumber_NP[CalculatedFirstPurchasedateAfterGTWClosedDate_SLN]) ) && ISBLANK ( R6AnchorSales ), DIVIDE ( Sales, Denominator ) * 12 ) ) Note::Other than CalculatedAnnualization_SLN the columns are populating fine in the report. Could you please guide me how to resolve thisSolved1.2KViews0likes2CommentsPBI Live connect to AAS (dynamic columns in matrix) ?
Hi all, Iam in trouble with creating matrix in PBI which will dynamically change columns/rows based on selection from slicer. Iam using live connect to Azure analysis tabular model actually and trying to do following solution: static data table for colum names, measure to identify change, row_selector:=sum('Value selector row'[Order]) calculated column "rows" = var x1=IF([row_selector]>39,1,[row_selector]) var x2= CALCULATE(VALUES('Value selector row'[Name]),FILTER('Value selector row','Value selector row'[Order]=x1)) return switch( x2, "Stredisko",RELATED('xy1'[x)]), "Prevádzka",RELATED('xy2'[y)]), "Pokladňa",RELATED('xy3'[z]), "N/A" ) In AAS visual studio is everything working fine, but after deploy to PBI row value is not changing either when underlying measure changes correctly. Is there some way to refresh calculated colum when PBI (live connected) slicer selection changes ? Thank you1KViews0likes1Comment