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 everyone,
I have a table status of product like below:
Product code | Initial | Release |
AA | 1-Mar-21 | 1-Jun-21 |
and I must calculate the pending between Initial date and Release date (Initial is considered as Pending):
Product code | Mar | Apr | May | Jun |
AA | Initial | Pending | Pending | Release |
Total Pending | 1 | 1 | 1 | 0 |
I will count from month the products are created (Initial date) and each month until previous month of Release date.
How can I do that? Please help me for this.
Thank you so much.
Solved! Go to Solution.
Hi, @Anonymous
I have created a sample pbix file based on your sample data.
Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.
All measures are in the sample pbix file.
https://www.dropbox.com/s/vftf5dmp1sq6166/ChienTrinh.pbix?dl=0
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.
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
Thank you for your feedback.
In this sample, I did not distinct-count (for instance, Product CC).
If you want to disctinct-count, then you can change a little bit of the measures in the sample.
The sample pbix file's link is down below.
One thing to note is that it is better (and I prefer it in this case, 🙂 ) to have inactive relationships, like the below picture.
https://www.dropbox.com/s/vftf5dmp1sq6166/ChienTrinh.pbix?dl=0
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 have created a sample pbix file based on your sample data.
Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.
All measures are in the sample pbix file.
https://www.dropbox.com/s/vftf5dmp1sq6166/ChienTrinh.pbix?dl=0
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.
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 @Jihwan_Kim
Thank you, that's greate. But can you help me a little more from that? The same output but I want to return only Status table and count on it (total Initial/Pending/Release) ^^. What should I do?
Hi, @Anonymous
Thank you for your feedback.
In this sample, I did not distinct-count (for instance, Product CC).
If you want to disctinct-count, then you can change a little bit of the measures in the sample.
The sample pbix file's link is down below.
One thing to note is that it is better (and I prefer it in this case, 🙂 ) to have inactive relationships, like the below picture.
https://www.dropbox.com/s/vftf5dmp1sq6166/ChienTrinh.pbix?dl=0
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.
Thank you so much 😍
@Anonymous , refer if this blog can help, you have additional logic in current employee code
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 |
---|---|
110 | |
96 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |