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 have a measure:
Net Value= Sumx(summarize(table, table[document], table[net_value]), [net_value])
which for distict document takes its net_value and summarizes it with others. The problem is this table has 20 milion rows, and when I upload my power bi to the power bi workspace I can't see visuals which include this measure.
What can I do about that?
Solved! Go to Solution.
Hi @kzielinska ,
Since you are doing a SUMX, this is getting all the lines of the table and making a row by row calculation,
Why are you using a SUMX to make this interaction? Can't you use a simple sum?
The formula you are using is first group the documents, adding a line per each net value and then summing them up what happens in your calculation is the following;
| Document | Net Value |
| A | 10 |
| A | 10 |
| A | 20 |
| B | 15 |
| TOTAL | 55 |
SUMX is doing:
| Document | Net Value |
| A | 10 |
| A | 20 |
| B | 15 |
| TOTAL | 45 |
The final value you want is the 45?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @kzielinska ,
Since you are doing a SUMX, this is getting all the lines of the table and making a row by row calculation,
Why are you using a SUMX to make this interaction? Can't you use a simple sum?
The formula you are using is first group the documents, adding a line per each net value and then summing them up what happens in your calculation is the following;
| Document | Net Value |
| A | 10 |
| A | 10 |
| A | 20 |
| B | 15 |
| TOTAL | 55 |
SUMX is doing:
| Document | Net Value |
| A | 10 |
| A | 20 |
| B | 15 |
| TOTAL | 45 |
The final value you want is the 45?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsIf 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 |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |