The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hola expertos,
¿Puede alguien ser capaz de guiarme cómo solucionar este problema, por favor?
Mi código DAX es este:
Hi @IdoiaPerez
You can refer to the following links:
Solved: Dateadd - Microsoft Power BI Community
Solved: DATEADD DAX FUNCTION - Microsoft Power BI Community
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @IdoiaPerez
DATEADD is a Time Intelligence function. Always reference the date column from a qualified Date Table in Time Intelligence functions.
@IdoiaPerez , dateadd need continous dates, so it can error if they are not
to add days, simple add to date
[Date] +20
for year and month use date
add 10 month
date(year([Date]) , month([Date])+10, day([Date]) )
Dateadd and its Alternate: https://www.youtube.com/watch?v=9qiRivlBv8w&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=66
Date as Dateadd
https://community.powerbi.com/t5/Community-Blog/Date-as-Dateadd-Decoding-Date-and-Calendar-5-5-Power...
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
13 | |
8 | |
8 |