The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I need help in DAX formula for the below scneraio;
I have Category and value column, i need a Max value column which will repeat the max from val column irrespective of category.
In the below example 499 is the maximum value in val column and 499 should be for each record in max val column.
Category | Val | Max Val |
Cat1 | 242 | 499 |
Cat2 | 499 | 499 |
Cat3 | 464 | 499 |
Cat4 | 104 | 499 |
Cat5 | 437 | 499 |
Cat6 | 131 | 499 |
Cat7 | 416 | 499 |
Cat8 | 156 | 499 |
Cat9 | 473 | 499 |
Cat10 | 295 | 499 |
Cat11 | 173 | 499 |
Cat12 | 478 | 499 |
Cat13 | 305 | 499 |
Cat14 | 478 | 499 |
Create a calculated column with following DAX formula
Max Val = MAX('Table'[Val])
Thanks and Regards,
Neha Rajgadkar| BI Consultant
Nice Software SolutionsPvt. Ltd.
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |