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
kagu
Frequent Visitor

Field paramters: two different dimensions

Hi everyone,

I try to build an table, which is filterd by a field parameter.

kagu_0-1690551203026.png

 

 

Field_Act FY23 Val-Vol = {
    ("FY23", NAMEOF('Measures_Volume FY23'[Volume FY23]), 0),
    ("FY23", NAMEOF('Measures_Value FY23'[Value FY23]), 1)
}

 

 

This works really good.

 

Now I want to add additional the same two values from FY24 and want to add an extra filter. But I do not know how to combine it with my last one.

 

Thanks in advance for your help.

2 ACCEPTED SOLUTIONS

Then adjust your Parmeters accordingly, without mixing fiscal years and product types.

View solution in original post

kagu
Frequent Visitor

I tried this first with 

Type = 
SWITCH(TRUE(),
CONTAINSSTRING('Field_Val-Vol'[Val-Vol Felder],"Anzahl"), "Volume", "Value")

and hat problems when there were tw row s with Volume or Value.

 

Now I added 

Type Value = IF (CONTAINSSTRING(Parameter[Parameter Felder],"Anzahl")=True, "Volume", "Value")

and it works 

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Your request is not clear. Do you want this?

 

Field_Act Val-Vol = {
    ("FY23 Volume", NAMEOF('Measures_Volume FY23'[Volume FY23]), 0),
    ("FY23 Value", NAMEOF('Measures_Value FY23'[Value FY23]), 1),
    ("FY24 Volume", NAMEOF('Measures_Volume FY24'[Volume FY24]), 2),
    ("FY24 Value", NAMEOF('Measures_Value FY24'[Value FY24]), 3)
}
kagu
Frequent Visitor

Yes. But I do want two slicers. One for FY23/FY24 and one for Volume/Value.

Then adjust your Parmeters accordingly, without mixing fiscal years and product types.

kagu
Frequent Visitor

I tried this first with 

Type = 
SWITCH(TRUE(),
CONTAINSSTRING('Field_Val-Vol'[Val-Vol Felder],"Anzahl"), "Volume", "Value")

and hat problems when there were tw row s with Volume or Value.

 

Now I added 

Type Value = IF (CONTAINSSTRING(Parameter[Parameter Felder],"Anzahl")=True, "Volume", "Value")

and it works 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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