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 am trying to get per day revenue based on the given start_date and end_date .Can anybody help to try to get in measure .
Eg : I want to view the invoice amount for the any intermediate date (Say From Date 01-06-2021 to 30-06-2021 Result will be 32.60 for Invoice number 1)
Kindly Help us to solve in measure
thanks in advance
Solved! Go to Solution.
Hi, @Anonymous
I am not sure how your desired outcome looks like, but please check the below picture and the sample pbix file's link down below.
All measures are in the sample pbix file.
I suggest having a dim-date table like below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi, @Anonymous
I am not sure how your desired outcome looks like, but please check the below picture and the sample pbix file's link down below.
All measures are in the sample pbix file.
I suggest having a dim-date table like below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@Anonymous
Hope you have a dates table, if not create one and connect to your data table and add the following measure:
amount =
VAR __start =
MIN ( dates[date] )
VAR __end =
MAX ( dates[date] )
RETURN
SUMX (
FILTER ( table, table[startdate] >= __start && table[enddate] <= __end ),
table[amt]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 |
---|---|
41 | |
20 | |
19 | |
15 | |
15 |
User | Count |
---|---|
46 | |
28 | |
25 | |
18 | |
17 |