Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

similer function in DAX for Intersect in Spotfire

i am trying to migrate Intersect function in Spotfire to DAX in Power BI. 

 

Spotfire Expression - Column_Name = SUM([Value]) OVER(INTERSECT([Company Name],[Flag],[Name]))

 

DAX Expression i am writing - 

Column_Name = CALCULATE(SUM(Table[Value]),ALLEXCEPT(Table[Company Name],Table[Flag],Table[Name])) --But this is not resulting as expected.

 

Please help 

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

For those of us unfamiliar with Spotfire, what does INTERSECT in Spotfire do exactly?

There is an INTERSECT function in DAX. Whether it is the same concept or not to Spotfire I have no idea: https://docs.microsoft.com/en-us/dax/intersect-function-dax


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Intersect Defination in Spotfire -

Returns the intersected rows from nodes in different hierarchies. See also AllPrevious and All.


Example of a custom expression:

Intersect(Parent([Axis.X]), All([Axis.Color]), Parent([Axis.Rows]), ...)

Example of a calculated column:

Sum([Sales]) OVER Intersect([Category], AllPrevious([Date]))

 

Sorry intersect function in DAX is different from intersect in Spotfire

amitchandak
Super User
Super User

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Please convert provided spotfire expression into DAX

@Anonymous That is very hard to do when you don't know Spotfire language because this is a Power BI board and we all do not know every possible language that exists. See previous reply where I ask to explain what INTERSECT does in Spotfire and point you to the INTERSECT function in DAX.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.