To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Dear Experts,
I wish to calculate a % of total value within a group. This percentage should also be updated based on slicers on the report.
I wish to see a split of percentage based on advance orders.
Hi @Anonymous
please try
% Of Total Vol =
SUMX (
VALUES ( 'DCM Data'[ADVANCE Orders] ),
CALCULATE (
VAR curr = [Vol]
VAR base =
CALCULATE ( [Vol], REMOVEFILTERS ( 'DCM Data'[ADVANCE Orders] ) )
RETURN
DIVIDE ( curr, base )
)
)
Hi,
I am not sure how the datamodel looks like, but please try the below if it suits.
% Of Total Vol =
VAR curr = [Vol]
VAR base =
CALCULATE ( [Vol], ALLSELECTED ( 'DCM Data'[ADVANCE Orders] ) )
RETURN
DIVIDE ( curr, base )
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |