Forum Discussion
Incorrect Productx calculation
If in another column to add PRODUCTX() only, without IF(), is it the same result or not?
In general it's better to have more information about the model, in DAX exactly the same formula gives different results depends on context.
- Itchn2goOct 11, 2020Copper Contributor
SergeiBaklan The answer to the question - is the ProductX function working without any other expressions is no. i get crazy numbers.
- Itchn2goOct 11, 2020Copper Contributor
SergeiBaklan Thanks for the help - I am new at this and trying to learn it on the fly.
I am trying to multiply a column "LineTotal" in the Tab "Invoices 1" by 0.4 if the column in Tab "ItemMaster 1" column "ItemGroupPrefix" equals "Equ".
I am unable to get the productx function to work. I am sure it is me.
- SergeiBaklanOct 11, 2020Diamond Contributor
Only formula is not enough. How relationships are built, based on date on something else? If date, is here separate calendar table? Are you on one or many side of relationships?
Just sample model with few records in each table could help better.
- Itchn2goOct 11, 2020Copper Contributor
SergeiBaklanYes, i have a calendar table along with item number master, main customer record (business partner) plus invoices and credits. see attached.