tutorial request
5 TopicsSELECT VALID DATE USING POWER BI DAX
Hi Power BI Community, Disclaimer: New to Power BI and learning is still in progress. My Team and I are working on some date to filter the schedule of employees. We are checking the log out date of the employees. But we are getting multiple dates so what we did is we tried to filter it using time difference between attendance and the scheduled date. Please see below sample. We are getting some problems on the out_is_valid column. It should only return "1" on the same schedule date as the in_is_valid column which are highlighted in green. But we are getting another "1" value which is in blue highlight. How can we only select the IN and OUT date with the same sched start and end? Below is our code. Thanks for your help.1.2KViews0likes2CommentsCombining several New Measures into a Table
Is there a way to combine three New Measures into one table? Below are the codes of Volume for Quarter 1, June, and July with the filter "Wholesaler". They work respectively in Power BI. I just need to combine them in one table or one field for visualization purposes.555Views0likes1CommentCalculating Commision
I would like to write a dax code that can do all of the commision rates sumiltanously or with little repetitive processes. See Commision: https://docs.google.com/spreadsheets/d/1AbWQCIPm-LzyEdSiEuJvYMc6tx5sdmmA/edit?usp=sharing&ouid=110211951767499364327&rtpof=true&sd=true See Pbix: https://drive.google.com/file/d/1KN2fmGx9hsuJaaX0lN5p0NZl_wkhliwE/view?usp=sharing Based on the document, the Commission Policy tells you how an agent's commission is calculated. To calculate an agent's commission you need to know what the agent's monthly salary is and how much sales they made for the month for the different services (application hosting, web services, infrastructure hosting). Once you have the agent's monthly salary and total monthly sales generated, you need to calculate the Salary Cover = Total monthly sales/Agent's monthly salary. Say for example, we have an agent who earns a salary of R1000 per month and the agent generates R1000 of sales for the month (of which application hosting = R500, web services = R300 and infrastructure hosting = R200). Salary cover = total monthly sales/agent's salary = R1000/R1000 = 1. This means that according to the commission table provided, the agent falls into the first category because salary cover <= 1. Based on the commission percentages in the table for the first category, the agent's commission for the month would then be R500*10% + R300*15% + R200*7% = R109 Let's say instead of R1000, this agent made R2000 worth of sales for the month (application hosting = R1000, web services = R600 and infrastructure hosting = R400). Then salary cover = total sales/agent's salary = R2000/R1000 = 2. This means that the agent would fall into the fourth category since salary cover >= 2. The agents commission would then be R1000*100% + R600*100% + R400*50% = R1800 Just one thing to note. Commission is calculated on 1 month's service revenue. So if an agent sells an annual product of 500, commission is not calculated on 500, but on 500/12. SSL commission is calculated on 2 months revenue and domains are not included. VAT needs to be subtracted before calculating the monthly service revenue as the data is VAT inclusive. Please assist?1.1KViews0likes1CommentDrill Through Button - Multipe Pages
Please assist? I created a drill through button(page 3) to drill from the Cart "Invoices Paid On time if posted on time" to it's detail page. Can u use this one drill through button to drill through mutple pages(all the invoice carts on page 3) Or must i create a drill button for each of the invoices? https://drive.google.com/file/d/1CBpFLkw37E5aeYSG9RXMLTzOXUCdcn4m/view?usp=sharing652Views0likes1Comment