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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
croberts21
Responsive Resident
Responsive Resident

Can field parameters change which values to graph?

I have PBI Desktop v March 2023. 

 

I have been watching videos on using field parameters and made a field parameter. My intention is for the user to change the VALUE of what they want to graph, but I have not been able to get it to work yet. The values the user can graph are: overtime hours, double time hours, normal hours, which are all numbers. I would like them to pick one or more of these from a slicer.

 

Here is a table of values. My Field Parameter is called "ParamHoursType". This is the settings for a Matrix. 

croberts21_0-1681732314812.png

The slicers on the left side of the report tab are for the Fiscal Year and the ParamHoursType. Like this. 

croberts21_1-1681732361061.png

 

No matter which ParamHoursType I choose, no numbers appear in the matrix at all, even when I choose all the Double Time Hrs, Hours Total, and Overtime Hours. 

 

I have another tab with a line graph. The Field Parameter does not graph anything there either. 

 

So do the field parameters work to graph different values? Or do they only work with categories (string fields)? 

 

EDIT: If Field Parameters cannot do this, is there a way for the user to choose which value to graph? I want to graph, or show in a table, one of: overtime hours, normal hours, doubletime hours. 

 

Thank you!

 

1 ACCEPTED SOLUTION
RMDNA
Solution Sage
Solution Sage

Hi @croberts21  - each choice in the field parameter should reference a measure that returns the value you want to see.

 

Setup:

RMDNA_3-1681840586627.png

 

RMDNA_0-1681840442468.png

 

Price selected:

RMDNA_1-1681840455090.png

 

Volume selected:

RMDNA_2-1681840465091.png

 

View solution in original post

3 REPLIES 3
RMDNA
Solution Sage
Solution Sage

Hi @croberts21  - each choice in the field parameter should reference a measure that returns the value you want to see.

 

Setup:

RMDNA_3-1681840586627.png

 

RMDNA_0-1681840442468.png

 

Price selected:

RMDNA_1-1681840455090.png

 

Volume selected:

RMDNA_2-1681840465091.png

 

croberts21
Responsive Resident
Responsive Resident

Thank you. So the choice has to be a measure, not a created column or column from the query SQL statement?

The field parameter documentation covers some of the restrictions, I'd check there for more details.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.