Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I am having treouble creating a measure:
I have a table with the information below. I want to know the Total number of Cage installations that were completed (date completed) during the same month of the Job site Start date.
In the example below it will be 1 only.
There are 5 purchase order numbers in the month of May but only one cage install was completed during the month of May.
Can you suggest something?
Thanks
M
Hi,
Here's one crude way without creating a Calendar Table. Write a calculated column formula (column title is month-year check)
month-year check = format(Data[job site start date],"mmyy")=format(Data[Date completed],"mmyy")
Write this mesure and drag it to a card visual
Measure = calculate(sum(data[cage installation]),data[month-year check]=TRUE())
Hope this helps.
- add a calendar table to your data model
- create an active relationship to the Job Site Start Date
- create an inactive relationship to the Date Completed
- write a DAX measure with USERELATIONSHIP() to change the data model for that calculation.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
68 | |
67 | |
41 | |
39 |
User | Count |
---|---|
48 | |
44 | |
29 | |
28 | |
28 |