Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I want to write a logic in power query.
If the Dispatched Year = current year then null else Dispatched Year.
I created a custome column like IF [Dispatched Year] = Date.Year(DateYear.LocalNow()) then null else [Dispatched Year] But it does not work.
Thanks
Note that M is case sensitive and your localnow function was wrong.
if [Dispatched Year] = Date.Year(Date.From(DateTime.LocalNow())) then null else [Dispatched Year]
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
It is returning all nulls even for Dispatched Year 2021
User | Count |
---|---|
65 | |
60 | |
47 | |
33 | |
32 |
User | Count |
---|---|
85 | |
75 | |
56 | |
50 | |
45 |