Latest Enterprise DNA Initiatives

Using TREATAS and Blank

Hi support Forum,

I want to get your advice why this dax formula is not giving me the result I want.

Also please could you tell me the best way to go about this.

Price = CALCULATE( SUM(FinData[price]),
TREATAS(VALUES(Dates[Year]),FinData[Year]))
Blank())

Basically I want if nothing is selected as a filter, it should be blank and not showing the aggregated data for all years.

Thanks

Hi @Tee1. Please upload your work-in-progress PBIX and a marked-up screenshot of the visual in question for your desired outcome, to help the forum members in their analyses.
Greg

2 Likes

Hi @Tee1, adding up to what @Greg mentioned above, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster.

While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.
  • When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.

image

  • Use the proper category that best describes your topic
  • Provide as much context to a question as possible.
  • Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.

Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file.

Hi @Tee1, we’ve noticed that no response has been received from you since the 23rd of April. We are waiting for the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details. In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved.

1 Like

Thanks I found a solution.