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.
I have a fairly complicated report in Excel that I'm migrating to Power BI. Here is the calculation breakdown (and if anyone has an easier way to calculate....I'm open to it):
In case I didn't explain that well, below is an example of my Excel pivot table. Data values are one column and rank values are immediately following it. I have the weight and factors at far right.
MY ISSUE FOR POWER BI:
I have all the data, facilities, metrics, ranks, but cannot figure out how to find the MAX of a RANK.
If I create a measure for max_test_data1 = MAX(rank_test_data_1) I receive an error ("column cannot be found or may not be used in this expression"). I'm not tied to my current Excel calculation, but I absolutely need a way to equalize the various metrics as the "WEIGHT FACTOR" is how we prioritize items of focus (which can change throughout the year depending on market demands, leadership expectations, etc).
@drew61199 , If I want to know max rank, I need a measure
maxx(values(Report[Location]), [rank_test_data_1])
Thank you for the reply. The formula works great in a card, but when added to the matrix, it displays the rank for each individual location. Ultimately I need DIVIDE(100, FACTOR), so I would expect 100 / 479 = .209, but as you can see, the factor is unique for each location
Hi @drew61199 ,
Cay you try
FACTOR_test1 = CALCULATE( MAXX(values(Report[Location]), [rank_test_data_1]), ALL(Report))
If not work, please share your some sample data and expect result.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
23 | |
13 | |
11 | |
10 | |
10 |