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.
I am still fairly new to power bi and have worked more in excel get & transform. I am transitioning a report built in excel with various methods over to PBI.
I am attempting to get a count of total loads on a table, but the numbers I get are way to small.
Branch | RTM | Driver Ct | Load Ct |
LX | SO | 12 | 9 |
MK | SO | 7 | 7 |
OS | MW | 22 | 0 |
UP | SO | 4 | 1 |
CG | SO | 8 | 10 |
TH | JK | ||
WL | JK | 16 | 16 |
VS | JK | 5 | |
LU | JK | 13 | 6 |
Total | 87 | 49 |
they should look more like this
Branch | RTM | Driver Ct | Load Ct |
LX | SO | 12 | 64 |
MK | SO | 7 | 53 |
OS | MW | 22 | 137 |
UP | SO | 4 | 22 |
CG | SO | 8 | 83 |
TH | JK | ||
WL | JK | 16 | 87 |
VS | JK | 5 | 45 |
LU | JK | 13 | 64 |
Total | 87 | 555 |
this is the formula I am using
Load Ct=Calculate (Sum('TMS Data'[Count]), 'TMS Data'[Carrier Alt Carrier Designator]<>"RUAN",FILTER('TMS Data', 'TMS Data'[Wk Start]>=MIN('Calendar'[Week Start]) && 'TMS Data'[Wk End]<=MIN('Calendar'[Week Ending])))
I've tired a few different formulas with the same results. I am trying to get a count by week. So what you see in the formula is a removal of an extra carrier "RUAN" and then a filter attempting to limit the count to a week.
Any ideas would be appreciated
Very difficult to tell what is going on. No idea about the source data. Are you trying to create a measure or a column? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
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 |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
42 | |
39 | |
19 | |
19 |