Forum Discussion
Could you help me with the DAX function
Dear all, good evening!
I need help.
I have a table called:
2000_Razao_Centro_Custo_Empresa_A
Columns
- Cost Center
- Date
- R$ Movement
Goal:
In other words, the value of each expense cost center must represent how much of the Total Revenue it consumes.
But when I try to do this the result is this below.
The dax function I created was this:
Can you help me.
Att.
Robson
Hi,
Does this measure work?
Measure 2 = if(max('Data Base'[Centro de Custo])="1 - Receitas Liquídas com Vendas",1,DIVIDE([M],[Measure]))
11 Replies
- lucadelicio
Impactful Individual
Hi,
can you share an excel data example file to help you?
Thank you!- AndradeRobson
Helper II
Luca, good afternoon!
Thanks for the feedback.
Below is an example of the Excel database.
There will be two spreadsheets in the file:
1st Spreadsheet: Example database
2nd Spreadsheet: PivotTable with the objective to be achieved in Power BIThanks.
I didn't find a place to insert a spreadsheet. Could you send me your email to send the model file.
Att.
Robson
- lucadelicio
Impactful Individual
Upload the pbix on https://wetransfer.com/
Thank you!