Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
Hi,
Does this measure work?
Measure 2 = if(max('Data Base'[Centro de Custo])="1 - Receitas Liquídas com Vendas",1,DIVIDE([M],[Measure]))
Hi,
can you share an excel data example file to help you?
Thank you!
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 BI
Thanks.
I didn't find a place to insert a spreadsheet. Could you send me your email to send the model file.
Att.
Robson
Hi,
upload the pbix i will help you!
Thank you,
Hi Andrade,
in the pbix 1 - Receitas Liquídas com Vendas is 5.966 and not 2.500 like you post.
Another question can you specify exactly the operation you do to find the 100% for the first row and the 15% for the second row?
So i will help you!
Thank you,
Lucas, good morning!
The first post was an example.
Please consider the pbix file and the new excel in the link below with the database, details and summary in the spreadsheets.
Below is a demonstration in Excel of the objective to be achieved in Power BI:
Sorry for the English, I use Google Translate.
Att.
Robson
Hi,
These measure work
M = SUM('Data Base'[Movimento])
Measure = CALCULATE([M],'Data Base'[Centro de Custo]="1 - Receitas Liquídas com Vendas",all('Data Base'[Conta Contábil + Descrição]))
Measure 2 = if(max('Data Base'[Centro de Custo])="1 - Receitas Liquídas com Vendas",BLANK(),DIVIDE([M],[Measure]))
Ashish, good night!
Just one detail, how can I leave this field at 100%?
The rest worked perfectly.
Thank you very much.
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]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
95 | |
94 | |
80 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |