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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.