Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have a column of total revenue, and from that, I need the sum of the revenue for only the paid nights, which are populating based on the date range that we selected.
For example, the selected date range is 01/08/2023–31/08/2023. The arrival date is June 8, 2023, and the departure date is September 30, 2023, and the paid nights are 31 because the date range we set is only August.
Now the total revenue is for all the nights (114), but I need the sum of revenue for only 31 nights as they fall in the date range we selected.
I need to show the sum of revenue for paid nights from the total revenue.
Note:The revenue for each night is different.
How can I achieve this? Please help.
@Suryateza , Do you need allocation between date range
Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 27 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |