The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Friends,
Please refer link with DemoChallange.pbix file.
https://drive.google.com/drive/folders/1S4iOi_u6aBEK0bJOko_Zvw29SES8jjqS?usp=drive_link
Now, our challange is to display numbers in matrix visual as shown.
Now, lets understand logic for the calculation - (Lets take exmaple for Location- A and Report date - 8/11/2024)
We need to find out how many transactions were scheduled between (5 Aug-11 Aug) from previous report week's data to report numbers for - 8/11/2024,
To do this, we need to select report date - 8/4/2024, and from "TransScheduleCompletionDate" we need to find out how many transactions are scheduled from (5 Aug-11 Aug), so, if for example 57 transactions were scheduled, we need to report this number under 8/11/2024.
Is there any way to achieve this?
Solved! Go to Solution.
Hi @PowerRobots99 I think I have Friday fatigue...
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Thank you @SamWiseOwl, Excellent approach, really appreciate your response.
Could you please let me know if there is any way to find out number of transactions that were scheduled between (5 Aug-11 Aug) AND also completed between (5 Aug-11 Aug),
To find out scheduled transactions between (5 Aug-11 Aug), we referred data that had uploaded on report date - 8/4/2024 in earlier step,
However, To find out completed transactions between (5 Aug-11 Aug), we have to refer data that have been loaded on report date - 8/11/2024.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
I believe that is not correct,
We have to find out number of transactions that were scheduled from 5 Aug to 11 Aug by considering data with report date- 8/4/2024
AND
also completed between (5 Aug-11 Aug) by considering data uploaded on 8/11/2024,
Both conditions should meet,
Now, to find out completed transactions from 5th and 11 Aug, we have to use "TransActualCompletionDate"
In above measure, we haven't done that.
Hi @PowerRobots99 I think I have Friday fatigue...
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @SamWiseOwl
Thank you for reply, i appreciate your response on this,
With this measure. we can get number of Transactions completed between 5th Aug and 11 Aug by referring report date - 8/11/2024
However, as i mentioned in a single measure, Both conditions should meet,
1st Condition - We have to find out number of transactions that were scheduled from 5 Aug to 11 Aug by considering data with report date- 8/4/2024
AND
2nd Condition- Number of transactions completed between (5 Aug-11 Aug) by considering data with report date - 8/11/2024,
Both conditions should meet,
However, measure devised by you only take care of second condition.
Measures can only return 1 value, do you want them added together?
Can you make a mock up of what the answer will be please.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
You need to change the report filter using Calculate and then add a filter based on the completion date using Filter (there are other methods). Create a measure like this:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @SamWiseOwl,
I was trying to set up drill through for this table, but my filters are not passing through as we have modified the filters inside "Scheduled Date" measure.
Please let me know if there is any way to resolve this ?