The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I'm some what new at PBI.
I'm trying to figure out how many orders were placed and also filled within each quarter. I do have a slicer for the Quarter on the report. I'm really stumped as to how to go about getting the calculations. Any help would be appreciated.
Order date | Filled Date |
06/08/2023 | 07/26/2023 |
06/09/2023 | 07/24/2023 |
04/27/2023 | 07/20/2023 |
05/24/2023 | 07/10/2023 |
06/01/2023 | 07/03/2023 |
05/25/2023 | 06/20/2023 |
03/08/2023 | 06/15/2023 |
05/01/2023 | 06/15/2023 |
01/24/2023 | 06/09/2023 |
06/08/2023 | 06/08/2023 |
04/05/2023 | 05/31/2023 |
03/28/2023 | 05/24/2023 |
03/14/2023 | 05/16/2023 |
03/02/2023 | 05/08/2023 |
03/01/2023 | 05/03/2023 |
02/06/2023 | 05/01/2023 |
02/17/2023 | 04/28/2023 |
04/20/2023 | 04/27/2023 |
02/25/2023 | 04/27/2023 |
03/30/2023 | 04/18/2023 |
03/16/2023 | 03/30/2023 |
02/21/2023 | 03/16/2023 |
01/31/2023 | 03/10/2023 |
02/09/2023 | 03/10/2023 |
01/12/2023 | 02/17/2023 |
02/08/2023 | 02/08/2023 |
02/07/2023 | 02/07/2023 |
03/02/2023 | |
03/27/2023 | |
04/18/2023 | |
04/20/2023 |
UPDATE
I actually came up with a solution. I created a column for the quarter for order date and another for filled date. Then I added a conditional column to compare the two columns and return a value, 1 if the orders were placed and filled within the same quarter and 0 if they weren't. Then just added the value of the column in the visual. I can't believe how simple the solution was and how much I was over thinking and complicating this.
hi, @Dashboard_Dev
(1)
if your slicer data(quarter no) present with same table then use below code
Thank you, but even when I changed the names to the actual table names there were multiple syntax errors.
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |