Forum Discussion
Dax Help
Hello there Anonymous ! DO you need the SUMX() in the formula or does a SUM() work? Try and see if this works:
penn = var _newunit = SUM('Detail'[new unit]) var _regs = SUM( 'Dealer Summary'[Regs]) return Divide ( _newunit, _regs )Hope this answer solves your problem! If you need any additional help please tag me in your reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️ or give it a kudoe 👍
Thanks!
Best regards,
Gonçalo Geraldes- Anonymous4 years ago
Seems to be related to the tables, relationships and dates
6 Replies
- goncalogeraldesSuper User
Hello there Anonymous ! DO you need the SUMX() in the formula or does a SUM() work? Try and see if this works:
penn = var _newunit = SUM('Detail'[new unit]) var _regs = SUM( 'Dealer Summary'[Regs]) return Divide ( _newunit, _regs )Hope this answer solves your problem! If you need any additional help please tag me in your reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️ or give it a kudoe 👍
Thanks!
Best regards,
Gonçalo Geraldes- AnonymousNot applicable
That still gives me the same result
- goncalogeraldesSuper User
Anonymous I think you got it backwards... Try this:
penn = var _newunit = SUM('Detail'[new unit]) var _regs = SUM( 'Dealer Summary'[Regs]) return Divide ( _regs , _newunit)
- AnonymousNot applicable
Seems to be related to the tables, relationships and dates
- KumailImpactful Individual
Hello
If you could send a sample .pbix that demonstrates what you are looking to get. It would really help to provide you a quick solution.
You can send the sample .pbix file by adding it to your drive or dropbox and add the link here.
Regards
Kumail Raza