Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am trying to replicate the DAX syntax in Power BI . the formulae written in Spot fire is
SUM(A/B)/Uniquecount( If ( ColName='XYZ',ColB)),0)
Where A - is a direct column in table
and B is - IF( ColName='XYZ', COUNT(1) over ( col1, col2,col3))
Hi @amar2arul,
I am not able to understand above query used in Spot fire. Please post some dummy data to show us what original dataset is and what your desired output is. Besides, please illustrate the calculation rule to help us better understand your requirement.
Regards,
Yuliana Gu
Hi,
Sure..
Spotfire formula is :
result = SN( SUM ( Column X / Column Y ) / uniquecount( IF( Column Z= "Sample Text" , Column A ) ) , 0)
*** Where Coluym Y = IF ( column B= "Sample Text". Count(1) OVER (Column C, Column D, Column E ) )
So i need the Result value formulae in Power BI
Hi @amar2arul,
Sorry, I'm not familiar with Spotfire formula. What I want to know is original data, and based on this data, what do you want to achieve? Please illustrate with sample data.
How to Get Your Question Answered Quickly
Regards,
Yuliana Gu
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!