Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
Trying to create a measure with the help of DATEADD but something is not working.
Solved! Go to Solution.
Of course it's not working because you have not taken the effort to get familiar with the time-intel functions and how they work in Power BI. Please head over to http://dax.guide/dateadd and carefully study the documentation. Then, build a correct model (meaning: star-schema).
This measure should work fine after you've understood how the model should be structured:
TEST Orders =
CALCULATE(
DISTINCTCOUNT( 'Export'[Id] ),
KEEPFILTERS( 'Export'[CaseTyp] = "X" ),
KEEPFILTERS( 'Export'[Closed] = "Confirmed" ),
KEEPFILTERS( 'Export'[Status] <> "Pre" ),
DATEADD(
'Calendar'[Date],
30,
DAY
)
)
Hi @Anonymous ,
Is your problem solved, if it is solved, you can mark the correct answer, if not, can provide detailed information, we can help you better.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi!
Thanks for the help! I will read the documentation. Regarding the star-schema is already in place, just imported a table and wanted to try this first!
Hi @Anonymous ,
Is your problem solved, if it is solved, you can mark the correct answer, if not, can provide detailed information, we can help you better.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Of course it's not working because you have not taken the effort to get familiar with the time-intel functions and how they work in Power BI. Please head over to http://dax.guide/dateadd and carefully study the documentation. Then, build a correct model (meaning: star-schema).
This measure should work fine after you've understood how the model should be structured:
TEST Orders =
CALCULATE(
DISTINCTCOUNT( 'Export'[Id] ),
KEEPFILTERS( 'Export'[CaseTyp] = "X" ),
KEEPFILTERS( 'Export'[Closed] = "Confirmed" ),
KEEPFILTERS( 'Export'[Status] <> "Pre" ),
DATEADD(
'Calendar'[Date],
30,
DAY
)
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |