Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217157

DAX can't find columns for dates

$
0
0

Hi,

 

I've been successfully using these sorts of DAX formulas for current month or week:

 

Current Month = if(MONTH(NOW())=[MonthOfYear],"yes","no")

 

IsCurrentMonth = IF (YEAR ( 'Invoked Function'[Date] ) = YEAR ( TODAY () )
&& MONTH ( 'Invoked Function'[Date] ) = MONTH ( TODAY () ),
"Yes",
"No"
)

 

Yesterday I found that it can't see the fields I want it to in the tables.  I get messages like this:

CM 1.PNGCM 2.PNG

 

I've not done anything differently from a report I made earlier this week, so I'm confused why it can't seem to see the columns anymore.  The only difference may have been I updated to the latest version of the desktop.  Anyone experienced this before?

 

Many thanks


Viewing all articles
Browse latest Browse all 217157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>