Forum Discussion
Anonymous
7 years agoNot applicable
Dax formula error
Hi experts I have the following DAX formula.....which do not work with certain visuals...but work with others. i am trying to work out the previous 12 months based on a selected year and month fi...
TomMartens
7 years agoSuper User
Hey,
it would be helpful if provide the error message as well :-)
Looking at you code I see that both of
return (s)
are not nested, I guess that this is reponsible for the error.
Hopefully this answers your question, if not please consider to create a pbix file with sample data, upload the file to onedrive or dropbox and share the link.
Regards,
Tom
Anonymous
7 years agoNot applicable
Hi Tom...
Sorry cannot do, ill get killed if i upload a file... and to re create it going to take for every......not sure what you mean by nested,,
- Anonymous7 years agoNot applicable
Also the there are two measures there just posted into once "insert Code" scereen..