cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dforro
Regular Visitor

PBI 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.

dforro_1-1611096871583.pngdforro_2-1611097070374.png

 

Is there some way to refresh calculated colum when PBI (live connected) slicer selection changes ?

 

Thank you

1 REPLY 1
lbendlin
Super User
Super User

Instead of that, consider using the "Personalize Visual" option and teach your users how to do that. Then they can manipulate the rows, columns, and values of the matrix themselves.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors