Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, I´m doing this measure:
IF ([WorkedDays1+2] <=[WorkedDaysTotal],[WorkedDays1+2], IF([WorkedDays1+2] >[WorkedDaysTotal],[WorkedDaysTotal],"0"))
What I´m expecting is , set a max value based on WorkedDaysTotal, no one can work more than WorkedDaysTotal. If "true" use WorkedDaysTotal (which changes every month)
If False keep the actual value.
After apply this measure I´n not getting th desired output as it´s filtering by Names1 only as below:
Any suggestion?
Solved! Go to Solution.
Hi @Aucesar ,
I suggest you to try code as below to update [FusoesMes] measure.
FusoesMes = CALCULATE(DISTINCTCOUNT ( Refugo[Número Fusão] ),REMOVEFILTERS('Refugo-Moldadores'[NomeMoldadores]))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Aucesar I think it will be easier if you provide raw data and the information about these measures, also how your data model looks like to provide an effective solution.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Sure, this is the link to pbi file https://1drv.ms/u/s!AktM4_8VYySOiJMiw0k4kBIC10ltNA?e=h8Nnq6 , also the main data comes from "Refugo" colunms (Ajudante,Moldador,NumeroFusao), give a try using the main data instead calculated table if you want.
Hi @Aucesar ,
I suggest you to try code as below to update [FusoesMes] measure.
FusoesMes = CALCULATE(DISTINCTCOUNT ( Refugo[Número Fusão] ),REMOVEFILTERS('Refugo-Moldadores'[NomeMoldadores]))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.