Hi @JOSERPIVIDAL, 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 preformated text </>.
Use the proper category that best describes your topic
Provide as much context to a question as possible.
Include 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.
AllExcept measure works by removing all filters except specified column in the current context. If FY_Month is not present as part of the Visual or is not applied as any other Filter like Slicer/Page/Report etc it will not work.
In Budgeting video, a Year filter was applied on Page Level that’s why AllExcept was working. For your case, try something like below.
Days in FY_Month =
CALCULATE (
COUNTROWS ( Dates ),
ALL ( Dates ),
SUMMARIZE ( Dates, Dates[FY_Month], Dates[Fiscal Year] )
)
Days in FY_Month =
CALCULATE ( COUNTROWS ( Dates ), ALL ( Dates ), VALUES ( Dates[FY_Month] ) )
Check if this blog is helpful in understanding the difference.
Hi @JOSERPIVIDAL, a response on this post has been tagged as “Solution”. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the check box. Thanks!