Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi everyone,
I try to build an table, which is filterd by a field parameter.
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.
Solved! Go to Solution.
Then adjust your Parmeters accordingly, without mixing fiscal years and product types.
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
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)
}
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.
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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
84 | |
66 | |
49 |
User | Count |
---|---|
127 | |
109 | |
93 | |
70 | |
67 |