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.
Hi,
I have a rental business and we are tracking the daily earnings based on on/off hire dates. I have this working OK having created a calendar table and the following column statement:
Solved! Go to Solution.
You are going to need to convert that to a measure.
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
You are going to need to convert that to a measure.
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Hi,
Could you explain a little further. The calendar tabke does not have the account names in it, they are in another table.
How would that measure statement look - thanks
Hi @waynewoodhead ,
I'm not certain what's the structure of dataset look like but maybe you can try to create a measure not a column like this and set a customer and date slicer to filter:
Earnings =
CALCULATE (
SUM ( Contltems[DailyRate] ),
FILTER (
'Contltems',
SELECTEDVALUE ( 'Calendar'[Date] ) >= 'Contltems'[HIREDATE]
&& SELECTEDVALUE ( Contltems[EndDate] ) <= 'Contltems'[EndDate]
),
ALL ( 'Contltems' )
)
If not help, could you please share a dummy pbix file as a sample for further discussion? Sample data and expected output would help tremendously.
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |