Forum Discussion
Filtering on one item will select all previous items too
- 5 years ago
Hi, Anonymous
Thank you for your feedback.
In that case, you can have one more column in the Name Table, like below.
Please check the relationship every time you create new tables ( this case: NO relationship), if your setting is auto-relationship-create.
I changed a measure and please check in the sample pbix file link down below.
https://www.dropbox.com/s/6o3p3g2fmdgjcg1/fruit.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Anonymous , If a, b, c,d,e are incremental value, means that can work like numbers.
You need to use an independent table of name for that , say name
measure =
var _1 = sleectedvalue(name[name])
var _2 = maxx(filter(Table, Table[Name] =_1 ), table[Data]) // or use index column in place of data
return
calculate(sum(Table[Date]), filter(Table, Table[Date] <=_2))
or
measure =
var _1 = sleectedvalue(name[name])
var _2 = maxx(filter(Table, Table[Name] =_1 ), table[index]) // or use index column in place of data
return
calculate(sum(Table[Date]), filter(Table, Table[index] <=_2))
or
measure =
var _1 = sleectedvalue(name[name])
return
calculate(sum(Table[Date]), filter(Table, Table[Name] <=_1))
- Anonymous5 years agoNot applicable
Thanks for the quick reply.
Where would I apply the measure to?
- amitchandak5 years ago
Super User
Anonymous , display this measure with name.