Forum Discussion
bjackson2760
8 months agoHelper I
Variance column for Dynamically selected columns
Greetings, I have a matix that consist of dynamic columns. The data consist of reports that are Jan-Dec. Each month has it's own Jan thru Dec totals in each file, see below left side. Currently...
- 8 months ago
Thanks everyone. I found it on another thread. I found this code and used it, but it only worked once I have a sum total next to it.
var mmax = CALCULATE(max(DataProfile[Units]),allselected(Contacts[Name])) var mmin = CALCULATE(min(DataProfile[Units]),allselected(Contacts[Name])) return mmax-mmin
I will come return to give credit. Thanks.
bjackson2760
8 months agoHelper I
Thanks everyone. I found it on another thread. I found this code and used it, but it only worked once I have a sum total next to it.
var mmax = CALCULATE(max(DataProfile[Units]),allselected(Contacts[Name])) var mmin = CALCULATE(min(DataProfile[Units]),allselected(Contacts[Name])) return mmax-mmin
I will come return to give credit. Thanks.
- bjackson27608 months agoHelper I
His user name is "Ibenlin".