Forum Discussion
How to count 2 condition?
- 5 years ago
Hi, Anonymous
I am not sure how your data type in your pbix file looks like, but I think you need to have a date-type column in the table.
Please check the below pbix file's link.
https://www.dropbox.com/s/xbgle5ipajq5i83/adamasmay.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi Anonymous ,
DAX not support compare date and text. Please try function Value or format for convert.
Data Type changes to "Text": Data:Column =FORMAT('Calendar'[Date],"yyyymmyy")
"Text" Type changes to Data:Column = VALUE(FORMAT(TODAY(), "YYYYMMDD"))
If question still unsolved ,could you pls share your pbix file? Remember to remove confident data.
Wish it is helpful for you!
Best Regards
Lucien