Forum Discussion
hosea_chumba
Helper I
4 years agoDax Equations
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: ...
- 4 years ago
Hi hosea_chumba
Please refer to the sample file with the proposed solution https://www.dropbox.com/t/0yKTjmbzDXqrfUv6Weighted 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.] ) )
tamerj1
Community Champion
4 years agohosea_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.
hosea_chumba
Helper I
4 years agoYou assumed right tamerj1 , how did you add the the [Report Quarter]column for each quarter?
- tamerj14 years ago
Community Champion
Actully I did that manually in power powery for each table separately. You can see the code in the sample file.
- hosea_chumba4 years ago
Helper I
The formula is not showing, any other way of handling it?
- tamerj14 years ago
Community Champion
Ok I'll update the original solution with some screenshots. Just give me some time to open my computer.