The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
HI Team,
I am trying to get maximum value of % column but its always giving me 1. I am using below measure but its giving 1 to non zero values.
Thanks on advance for the solution.
Solved! Go to Solution.
Hi @Anonymous
Above are the steps I followed to achieve it.
Below is the snapshot of each steps
If this answers your questions, kindly accept it as a solution.
If this is helpful, then pelase give kudos.
Hi @Anonymous ,
Thank you for reaching out to Microsoft Fabric Community Forum.
Please find below DAX code as per your requirement.
MaxHrs =
MAXX(SUMMARIZE(ResourceProjection,ResourceProjection[category ],ResourceProjection[Month],"HRS",
SUM(ResourceProjection[%])),
[HRS]
)
Please find attached snap.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Hi @Anonymous ,
Thank you for reaching out to Microsoft Fabric Community Forum.
Please find below DAX code as per your requirement.
MaxHrs =
MAXX(SUMMARIZE(ResourceProjection,ResourceProjection[category ],ResourceProjection[Month],"HRS",
SUM(ResourceProjection[%])),
[HRS]
)
Please find attached snap.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Hi @v-csrikanth , I have tried with this code and its working now..Thanks for your help!!
Hi @Anonymous
Try the below steps to get your result
step1
Create a summarized table using below DAX
Hi @Anonymous
Above are the steps I followed to achieve it.
Below is the snapshot of each steps
If this answers your questions, kindly accept it as a solution.
If this is helpful, then pelase give kudos.
HI @mdaatifraza5556 I have tried with your code as well and its working fine. However, vsrikant's code is minimum so its useful while loading process..Thanks for your help!!
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
18 | |
13 | |
7 | |
5 |