The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I have two columns, Name and Value. Each name is unique and has a numerical value attacthed to it (from the Value column).
Now I would like to create a measure that returns those names and their values which are within 100 of each other. So essentially, the measure would have to check all values and place a mid point of 100 in this case and -100 and +100 as lower & upper bound range.
Would this also be possible to make it so that the user can select the 'range'? So I'd have a front end visual with a text box or something and the user would type in 100 and then the visual would alter the results based on user input.
Eg
A - 100
B - 250
C - 200
D- 600
E- 350
Result
A - 100
B - 250
C - 200
E- 350
Solved! Go to Solution.
@qnt013 , You can use what if paratmeter
a measure like
calculate(Sum(table[value]), filter(Table, table[value] >= [Whatifmeasure] ))
refer
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
@qnt013 , You can use what if paratmeter
a measure like
calculate(Sum(table[value]), filter(Table, table[value] >= [Whatifmeasure] ))
refer
User | Count |
---|---|
87 | |
84 | |
36 | |
35 | |
32 |
User | Count |
---|---|
96 | |
75 | |
67 | |
52 | |
52 |