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
Hello everyone!
I have stucked with the dax formulas. Here is the situation:
1. We have only 1 variable value that is used to create all other columns, and two columns to interact with.
2. That one variable sets as a What IF parameter
3. I tried to used SUM instead of SUMX but got wrong results in total, which is not acceptable
4. I tried to create "Virtual Table" out of table of clean values to count others (New Table button (SUMMURIZECOLUMNS...)), didnt work - got all values which comes from measures equal 0
Yellow marked columns are constant they are not affected by "Value1" (on top)
and the last column - "Value1_for_reciept = SUMX('Table1';'Table1'[Sum Value] / 'Table1'[Reciept value])" i was waiting 23,49*2,35 which is equal to 10 but i get "Average_values" somehow
Here is the example file
Thanks in advance for your answers.
EDIT:
Ok. Maybe it will help. I have some data
I need this data to manipulate with what if parameter in dax, called "Value"
I need this "Value" first be multiplied by share_Value1 here it is "Sum Value"
Next I need two columns that containe "Sum Value" divided by average_Value1 and they are "Receipt Value" and "Offer Value"
Then I need to multiply Sum_Value by Reciept_Value to get "Value1_for_receipt" and here is all going wrong.
Same story with another Reciept_Value*average_price it also returns not what I expect to see
Ok. Maybe it will help. I have some data
I need this data to manipulate with what if parameter in dax, called "Value"
I need this "Value" first be multiplied by share_Value1 here it is "Sum Value"
Next I need two columns that containe "Sum Value" divided by average_Value1 and they are "Receipt Value" and "Offer Value"
Then I need to multiply Sum_Value by Reciept_Value to get "Value1_for_receipt" and here is all going wrong.
Same story with another Reciept_Value*average_price it also returns not what I expect to see
Where are you getting "Average values"? So the 10 in the first row is correct or not correct? Are you referencing your Total line? Please clarify.
Average values - these are constant they come from excel table, total line of average valueas is also correct, total line would be incorrect to my opinion if i use SUM instead of SUMX in table
OK, let me try a different track, what do you expect the results should be for the data provided? If not 10, then what?
Ok. Maybe it will help. I have some data
I need this data to manipulate with what if parameter in dax, called "Value"
I need this "Value" first be multiplied by share_Value1 here it is "Sum Value"
Next I need two columns that containe "Sum Value" divided by average_Value1 and they are "Receipt Value" and "Offer Value"
Then I need to multiply Sum_Value by Reciept_Value to get "Value1_for_receipt" and here is all going wrong.
Same story with another Reciept_Value*average_price it also returns not what I expect to see
Ok. Maybe it will help. I have some data
I need this data to manipulate with what if parameter in dax, called "Value"
I need this "Value" first be multiplied by share_Value1 here it is "Sum Value"
Next I need two columns that containe "Sum Value" divided by average_Value1 and they are "Receipt Value" and "Offer Value"
Then I need to multiply Sum_Value by Reciept_Value to get "Value1_for_receipt" and here is all going wrong.
Same story with another Reciept_Value*average_price it also returns not what I expect to see
Greg, in column "Average values" evrything is correct, errors happens when I use the SUMX measure in next measures, they are kind of nested
>> "Value1_for_reciept = SUMX('Table1';'Table1'[Sum Value] / 'Table1'[Reciept value])" i was waiting 23,49*2,35 which is equal to 10 but i get "Average_values" somehow
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |