Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.