Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'm a beginner in power bi and i need your support.
I've created a table with 2 values from data base (NB= quantity and TTC_EUR= amount) and 2 measures ( taux = rate).
I would like to set up a kind of slicer on a measure in order to display values within a range specified by the user.
For example, the user would like to display rate between 50% and 70%. I would like the table display only the suppliers "2B M" and "2C".
Thanks for your help.
André
Solved! Go to Solution.
Hi @Anonymous ,
Try this:
1. Create what-if parameter.
3. Create a measure and put it into "Filters on this visual".
Measure =
IF (
[Rate] >= MIN ( Parameter[Parameter] )
&& [Rate] <= MAX ( Parameter[Parameter] ),
1
)
4. Test.
BTW, .pbix file attached.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try this:
1. Create what-if parameter.
3. Create a measure and put it into "Filters on this visual".
Measure =
IF (
[Rate] >= MIN ( Parameter[Parameter] )
&& [Rate] <= MAX ( Parameter[Parameter] ),
1
)
4. Test.
BTW, .pbix file attached.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You can not have a measure as a filter.
You need to create an independent table of the filter . Say generate series 1,100
then you need filter you measure/s using that, also need to use values
example
new measure =
var _min = minx(series,series[value])
var _max = maxx(series,series[value])
return
sumx(filter(values(Table[Fourissuer]), [measure] >=_min && [Mesure]<=_max),[Meausre])
Hi @Anonymous ,
Try to check What-If Parameters in POwer BI. They might help you.
Check following articles if they can help:
https://radacad.com/power-bi-what-if-parameters
https://www.peakindicators.com/blog/what-if-parameters-in-power-bi
https://www.absentdata.com/power-bi/parameter-power-bi/
Thanks,
Pragati
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |