Forum Discussion
Augustas-ase
3 years agoHelper II
Formula
how to calculate and get percentages in a column?
Augustas-ase
3 years agoHelper II
yes
BIswajit_Das
3 years agoImpactful Individual
You can do that by
Modify your formula to
calculate (
expression,
filter(table,table[monthcol] = eariler(table[monthcol]))
)
- Augustas-ase3 years agoHelper II
what should it look like when you put it in this formula?
Sales =VAR _total = sum('Planam'[Sales 2022])return_total- BIswajit_Das3 years agoImpactful Individual
Sales =
VAR _total =
Calculate(SUM('Planam'[Sales 2022]),
Filter('Planam','Planam'[month] = Earlier('Planam'[month])))
RETURN _total
try this out- Augustas-ase3 years agoHelper II2Sale2s =VAR _total = sum('Planam'[Sales])var _val = 'Planam'[Sales]return_val/_totalshould also be added here