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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors