Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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 |
Solved! Go to Solution.
Hi, @NavaneethaRaju
As you provide in the figure, you can try the following methods.
Measure:
Total Procedures =
CALCULATE (
SUM ( 'Tag Usage Fact'[No of Procedures] ),
ALLEXCEPT ( 'Tag Usage Fact', 'Tag Usage Fact'[Tag ID] )
)
% = SUM('Tag Usage Fact'[No of Procedures])/[Total Procedures]
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @NavaneethaRaju
As you provide in the figure, you can try the following methods.
Measure:
Total Procedures =
CALCULATE (
SUM ( 'Tag Usage Fact'[No of Procedures] ),
ALLEXCEPT ( 'Tag Usage Fact', 'Tag Usage Fact'[Tag ID] )
)
% = SUM('Tag Usage Fact'[No of Procedures])/[Total Procedures]
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
OK, leave that filter in but remove the one on owner.
Total Procedures =
SUMX (
VALUES ( 'Tag Usage Fact'[Tag ID] ),
CALCULATE (
SUM ( 'Procedure Fact'[Procedures] ),
ALLEXCEPT ( 'Tag Usage Fact', 'Tag Usage Fact'[Tag ID] ),
FILTERS ( 'Tag Usage Fact'[Order Date] )
)
)
What happens if you remove the FILTERS in your CALCULATE.
Total Procedures =
SUMX (
VALUES ( 'Tag Usage Fact'[Tag ID] ),
CALCULATE (
SUM ( 'Procedure Fact'[Procedures] ),
ALLEXCEPT ( 'Tag Usage Fact', 'Tag Usage Fact'[Tag ID] )
)
)
If i write a measure without Filters('Tag Usage Fact'[Order Date]), it will show all the dates of data, so this filter only giving the selected date range data. I just attached the data above like few rows. is there any measure to solve this issue. Please advice.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 38 | |
| 35 | |
| 23 |