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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
BrunoM
New Contributor III

Using Field Parameter in a Value field of matrix

Dear all, i am stucked in this situation, i need your help !
I have a simple data model.

A table "Indices" with a column date and 3 columns for Indice1, Indice2 and Indice3.
A table "_Dates" related to the first one.

BrunoM_2-1688801418851.png

 


I have create a slicerTable using Field parameter fonction.
I would like to use the slicer to choose the column i want to display. I am using 2 visuals (Matrix and Linechart).
When i assign them to the parameter field no value is displayed (Tab1 of the pbix file)

BrunoM_1-1688801278545.png

 


If if add directly the column in the visuals it is working :

BrunoM_3-1688801516230.png

 

 


I really do not understand why this is not working for columns.

In advance thank you for your help,

1 ACCEPTED SOLUTION
OwenAuger
Honored Contributor III

Hi @BrunoM 

To get this to work, create explicit measures for the average of each Indice:

Average of Indice1 =
AVERAGE ( Indices[Indice1] )

etc.

 

Then create a field parameter containing these three measures, and add this field parameter to the Values field well of the matrix.

 

The reason the original field parameter isn't working is that Indices[Indice1], Indices[Indice2], and Indices[Indice3] are treated as columns with no aggregation, so don't make sense in the Values field well of a matrix, and are therefore ignored.

 

When you drag the individual columns into the Values field well, it works because implicit measures are created (Average in your example).

 

Regards,


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

4 REPLIES 4
OwenAuger
Honored Contributor III

Hi @BrunoM 

To get this to work, create explicit measures for the average of each Indice:

Average of Indice1 =
AVERAGE ( Indices[Indice1] )

etc.

 

Then create a field parameter containing these three measures, and add this field parameter to the Values field well of the matrix.

 

The reason the original field parameter isn't working is that Indices[Indice1], Indices[Indice2], and Indices[Indice3] are treated as columns with no aggregation, so don't make sense in the Values field well of a matrix, and are therefore ignored.

 

When you drag the individual columns into the Values field well, it works because implicit measures are created (Average in your example).

 

Regards,


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn
BrunoM
New Contributor III

@OwenAuger Thank you so much for your solution, your explanation and your quick answer. It is working fine as you described.
Have a nice WE !
Best Regards Bruno

@OwenAuger Thank You !  Clear explanation.

Thank you so much for this answer! It helps me a lot! ๐Ÿ™‚

Helpful resources

Announcements
Users online (7,086)