Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi, I'm a beginner in Power BI and DAX functions, and I'm trying to subtract the column "Meta Horária" and "Entrada Caeté" like this:
Diferença Entrada de Cana e Meta = MAX(Planilha1[ENTRADA_CANA])- MAX(Planilha1[META_ACUMULADA_CANA])I've also tried like this
Diferença Entrada de Cana e Meta = MAX(Planilha1[ENTRADA_CANA])- SUM(Planilha1[META_ACUMULADA_CANA])But none have returned the value I wish for, I'd like to have both values as indicated in the image in the subtraction yet, I don't see how I'm able to do it, the expected value would be "809-1260=-451". How can I do it?
Solved! Go to Solution.
Proud to be a Super User! | |
You should be able to use a calculated column to get the desired result.
Proud to be a Super User! | |
Thank you! but now I've encoutered a new problem, how can I make that it only executes the function if I have a value and if I don't, leave it blank?
Proud to be a Super User! | |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |