Forum Discussion
AndradeRobson
Helper II
2 years agoCould 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 expe...
- 2 years ago
Hi,
Does this measure work?
Measure 2 = if(max('Data Base'[Centro de Custo])="1 - Receitas Liquídas com Vendas",1,DIVIDE([M],[Measure]))
AndradeRobson
Helper II
2 years agoLucas, 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
Ashish_Mathur
Super User
2 years agoHi,
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]))
- AndradeRobson2 years ago
Helper II
Ashish, good night!
Just one detail, how can I leave this field at 100%?
The rest worked perfectly.
Thank you very much.
Att. Robson
- Ashish_Mathur2 years ago
Super User
Hi,
Does this measure work?
Measure 2 = if(max('Data Base'[Centro de Custo])="1 - Receitas Liquídas com Vendas",1,DIVIDE([M],[Measure]))