Forum Discussion
Dynamic version
- 4 years ago
Hi AlanP514 ,
Not to create a new index table, but to add an index column in the Master table.
And modify your original formula like this:
CALCULATE ( SUM ( 'Sales'[Value] ) / 100, 'Master'[Version] = MAXX ( FILTER ( ALL ( 'Master' ), 'Master'[Index] = MAXX ( ALL ( 'Master' ), 'Master'[Index] ) ), 'Master'[Version] ), ALL ( 'Master'[Comparisions] ) )Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AlanP514 , If you can give a static number to the version or an incremental number you can have.
Assume you have a table with an index (added in power Query) with the version
Then you have to measure like
measure =
var _max = maxx(filter(allselected(Table), Table[Index])
return
maxx(filter(Table, Table[index] =_max) , Table[version])
- AlanP5144 years agoPost Patron
Hai amitchandak
So you mentioning that i wanted to create a new table with index column and connect with these tables right ? - AlanP5144 years agoPost Patron
Hai amitchandak
The Dax is showing error, can you please guide me to rectify this dax- v-yanjiang-msft4 years agoCommunity Support
Hi AlanP514 ,
Not to create a new index table, but to add an index column in the Master table.
And modify your original formula like this:
CALCULATE ( SUM ( 'Sales'[Value] ) / 100, 'Master'[Version] = MAXX ( FILTER ( ALL ( 'Master' ), 'Master'[Index] = MAXX ( ALL ( 'Master' ), 'Master'[Index] ) ), 'Master'[Version] ), ALL ( 'Master'[Comparisions] ) )Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.