Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I created a measure for sum the total for respective of tag, So i got a total values of indiviual tag id.there i used all except measure to create the total for the respective tag ID. after that i want the find the percentage of the total.
Below i mentioned the measure
1.
Tag ID | Set ID | Set Name | System Name | Tag Owner | Order Owner | No of Procedures | Total Procedures | % of Usage | Usage Type |
297 | 965.905 | Coalan | Colan | CC | GN | 6 | 8 | 75% | Shared |
297 | 965.905 | Colan | COlan | CC | SL | 2 | 8 | 25% | Shared |
300 | 984.903 | COAL | COAL | CC | GN | 1 | 4 | 25% | Shared |
300 | 984.903 | COAL | COAL | GN | GN | 3 | 4 | 75% | Used |
907 | 932.903 | MARS | MARS | CS | CS | 3 | 6 | 50% | Used |
907 | 932.903 | MARS | MARS | CS | IH | 3 | 6 | 50% | Shared |
Tag ID | Set ID | Set Name | System Name | Tag Owner | Order Owner | No of Procedures | Total Procedures | % of Usage | Usage Type |
300 | 984.903 | COAl | COAl | GN | GN | 3 | 3 | 100% | Used |
907 | 932.903 | MARS | MARS | CS | CS | 3 | 3 | 100% | Used |
Tag ID | Set ID | Set Name | System Name | Tag Owner | Order Owner | No of Procedures | Total Procedures | % of Usage | Usage Type |
300 | 984.903 | COAl | COAl | GN | GN | 3 | 4 | 75% | Used |
907 | 932.903 | MARS | MARS | CS | CS | 3 | 6 | 50% | Used |
Hi, @NavaneethaRaju ;
You could create a measure.
Total Procedures =
CALCULATE(SUM('Tag Usage Fact'[No of Procedures]),ALLEXCEPT('Tag Usage Fact','Tag Usage Fact'[Tag ID]))
% of Usage = SUM('Tag Usage Fact'[No of Procedures])/[Total Procedures]
The final show:
Best Regards,
Hi @v-yalanwu-msft ,
I also used this measure before, this measure only showing all total,
but actually the total should be respective of the selected date range. without that Filters(Order date) i can't display the total for selected date range.
@NavaneethaRaju , Have you tried
divide(SUM('Procedure Fact'[Procedures]), calculate(SUM('Procedure Fact'[Procedures])), all())
or
divide(SUM('Procedure Fact'[Procedures]), calculate(SUM('Procedure Fact'[Procedures])), allselected())
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
26 | |
21 | |
12 | |
8 |
User | Count |
---|---|
75 | |
52 | |
45 | |
15 | |
12 |