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! Learn more
Hi,
I am trying to get a count of customers who have given brokerage during the last month regardless of the customers giving brokerage in the current month. I have created 2 measures (TM Net Brokerage and LM Net Brokerage) as given below.
TM Net Brokerage =
I would like to have the count as 8, i.e. include the blanks, Will appreciate, if anyone could help me out with the dax measure to get the desired result.
Thanks and Regards
Viraj
Solved! Go to Solution.
@VIrajMP , Try measures like
NoofCustomers = countx(values(Table[pcode]), if([TM Net Brokerage] =0 || isblank([TM Net Brokerage]) ,0,1))
NoofCustomers = countx(values(Table[customer ID]), if([TM Net Brokerage] =0 || isblank([TM Net Brokerage]) ,0,1))
Hi @VIrajMP ,
Please refer to the links.
If the problem is still not resolved, please share the .pbix file or sample data.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@VIrajMP , Try measures like
NoofCustomers = countx(values(Table[pcode]), if([TM Net Brokerage] =0 || isblank([TM Net Brokerage]) ,0,1))
NoofCustomers = countx(values(Table[customer ID]), if([TM Net Brokerage] =0 || isblank([TM Net Brokerage]) ,0,1))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.