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.
Hello fellow community,
Kindly help to solve the below problem;
Consider the tables below, they are implementation tracking reports for 3 quarters in FY 22.
I would like to achieve the following:
FY22Q1 Report | |||
Unique Issue Tracking Ref. | Quarter the Issue was raised | Implementation Status | Office |
123 | FY21Q1 | Open | Armenia |
124 | FY21Q3 | Closed | Sri Lanka |
125 | FY22Q1 | Partially Implemented | Senegal |
126 | FY22Q2 | Open | Ecuardo |
FY22Q2 Report | |||
Unique Issue Tracking Ref. | Quarter the Issue was raised | Implementation Status | Office |
123 | FY21Q1 | Open | Armenia |
124 | FY21Q3 | Closed | Sri Lanka |
125 | FY22Q1 | Partially Implemented | Senegal |
126 | FY22Q2 | Open | Ecuardo |
127 | FY22Q3 | Open | Armenia |
FY22Q3 Report | |||
Unique Issue Tracking Ref. | Quarter the Issue was raised | Implementation Status | Office |
123 | FY21Q1 | Closed | Armenia |
124 | FY21Q3 | Closed | Sri Lanka |
125 | FY22Q1 | Closed | Senegal |
126 | FY22Q2 | Open | Ecuardo |
127 | FY22Q3 | Open | Armenia |
128 | FY22Q4 | Partially Implemeted | Ecuardo |
Solved! Go to Solution.
Hi @hosea_chumba
Please refer to the sample file with the proposed solution https://www.dropbox.com/t/0yKTjmbzDXqrfUv6
Weighted Implementation =
DIVIDE (
SUMX (
SUMMARIZE (
'Compiled Report',
'Compiled Report'[Unique Issue Tracking Ref.],
'Compiled Report'[Implementation Status]
),
CALCULATE (
SELECTEDVALUE ( Weightages[Weight] ),
CROSSFILTER ( 'Compiled Report'[Implementation Status], Weightages[Status], Both )
)
),
DISTINCTCOUNT ( 'Compiled Report'[Unique Issue Tracking Ref.] )
)
Thanks so much @tamerj1 , did you use a formula to add the [Report Quarter] column for the respective quarters taking into consideration that it is large data.
@hosea_chumba
Actually yes. I assumed that this is the case of your model. Otherwise why would you keep them in separate tables and add a new table every new quarter? I know saving one column is a good idea but sometimes you need to do the math.
You assumed right @tamerj1 , how did you add the the [Report Quarter]column for each quarter?
Actully I did that manually in power powery for each table separately. You can see the code in the sample file.
The formula is not showing, any other way of handling it?
Ok I'll update the original solution with some screenshots. Just give me some time to open my computer.
Hi @hosea_chumba
Please refer to the sample file with the proposed solution https://www.dropbox.com/t/0yKTjmbzDXqrfUv6
Weighted Implementation =
DIVIDE (
SUMX (
SUMMARIZE (
'Compiled Report',
'Compiled Report'[Unique Issue Tracking Ref.],
'Compiled Report'[Implementation Status]
),
CALCULATE (
SELECTEDVALUE ( Weightages[Weight] ),
CROSSFILTER ( 'Compiled Report'[Implementation Status], Weightages[Status], Both )
)
),
DISTINCTCOUNT ( 'Compiled Report'[Unique Issue Tracking Ref.] )
)
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |