March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
What is the correct dax for displaying the values of the columns?
This is the measure that i did, but it's not displaying any values.
could you pls provide some sample data and expected output?
Proud to be a Super User!
I want to display the value of monthly working hours if the dates between is greater than 30 days. but if the days between is less than that, i want to multiply the daily hours and the business days (already calculated)
how to identify greater than 30 days or not? it's better to provide some sample data, otherwise it's not easy to provide the proper solution.
Proud to be a Super User!
You may try replacing SELECTEDVALUE function with MAX. Not sure whether your data table has multiple distinct values in MonthlyWorkingHrs and DailyWorkingHrs columns. If so, this is probably the cause.
Hours =
IF (
[DaysBetween] > 30,
MAX ( 'Table'[MonthlyWorkingHrs] ),
[BusinessDays] * MAX ( 'Table'[DailyWorkingHrs] )
)
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |