Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I need help in something that might be simple.
I have a table with "total transactions per hour" in one column and "50% of the transactions per hour" in another column, something similar to this:
HOUR TOT 50%
3pm 208 104
4pm 212 106
5pm 218 109
Total 638 319
I have to create another column with the percentage of the 50% of transactions per each hour over the total (638). In other words, i need the following:
104 / 638
106 / 638
109 / 638
Any help would be greatly appreciated.
thanks!
Solved! Go to Solution.
@Anonymous -
You should be apple to add another column as:
% = DIVIDE ( TableName[50%], SUM ( TableName[TOT] ), 0 )
Proud to be a Super User!
@Anonymous
You may add the measure below.
Measure 2 = DIVIDE ( [50%], CALCULATE ( SUM ( 'Table'[TOT] ), ALLSELECTED ( 'Table'[HOUR] ) ) )
@Anonymous -
You should be apple to add another column as:
% = DIVIDE ( TableName[50%], SUM ( TableName[TOT] ), 0 )
Proud to be a Super User!
thanks.
but the challenge is that the "50% transactions" is not a straight calculation from "tot transactions", but the result of SELECTEDVALUE from a filter...
@Anonymous
You may add the measure below.
Measure 2 = DIVIDE ( [50%], CALCULATE ( SUM ( 'Table'[TOT] ), ALLSELECTED ( 'Table'[HOUR] ) ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
74 | |
63 | |
51 | |
48 |
User | Count |
---|---|
211 | |
85 | |
64 | |
59 | |
56 |