The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi
I'm struggling with a problem regarding Contious counting of ID's.
The ask is to continually count per month the ID's in the table based on if its been submitted but not approved.
e.g if it was submitted in january 2023 and approved in march 2023 we would count per month for jan, feb and march until its been approved.
The aim is to show a trend in unapproved ID's over time.
The columns im using are the following:
I have tried the below dax code commands to solve this:
Any help is greatly appreciated 🙂
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
expected result measure: =
COUNTROWS (
FILTER (
milestone,
milestone[submission_date] <= MAX ( 'calendar'[Date] )
&& milestone[approval_date] >= MIN ( 'calendar'[Date] )
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi
This is brilliant, is it possible to exclude ID's that have been approved in the same month as well? e.g if they were submitted in january and approved in january then we wouldnt count the ID.
Thanks for the help on this 🙂
Hi,
Please provide your sample pbix file's link, and then I can try to look into your sample pbix file.
Thank you.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
20 | |
18 | |
18 | |
14 | |
13 |
User | Count |
---|---|
38 | |
31 | |
22 | |
20 | |
18 |