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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, i am fairly new to DAX and Power BI and i am trying to calculate using DAX formula on the 30 days change of Count of Red and Yellow categories.
The first column is a calculated measure of current/today day count:
if you opened and active, not closed in last 30day, you can have measure like
Active Last 30 days opened = CALCULATE([Count of CategoriesRed and Yellow], [opened_on] > (NOW() - 30) && Final Terminated Date] > NOW() )
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thank you for your reply. I have added your formula but it still gives me a blank value.
I have a sample pbix file, how to i attach it here? I have attached the table instead
IndexstatusPrioritycreated_onFinal Terminated DateState
|
Here are some of the columns i have created as well:
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 |
|---|---|
| 102 | |
| 79 | |
| 57 | |
| 51 | |
| 46 |