Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 3 columns which I ma taking from 2 tables.
Start date and end date from contract table
reqquestdatetime from workorder table.
I need count of workorders if my requestdatetime is lying in the range of startdate and enddate
I used -
Hi @niharikaavasthi ,
It seems that you are creating a measure and you can refer to user @smpa01 's suggestion to update your measure formula. Or you can refer to the solution in the posts below to correct your formula and check later to see if you get the correct value...
1. Create a calculated column replace with original measure
2. Use the aggregation
A single value for column 'Open_Date_Time__c' in table 'Problem' cannot be determined
If the above methods do not help you to get the desired result, please provide some sample data of the Contract and WO tables and your final desired result with specific examples and calculation logic. Also, is there any relationship created between these two tables? Thank you.
Best Regards
Hi,
Share some data and show the expected result.
@niharikaavasthi try this
_count =
CALCULATE (
COUNT ( WO[WO] ),
DATESBETWEEN ( WO[Date], MAX ( Contract[Start] ), MAX ( Contract[End] ) )
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
97 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |