March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone,
I am struggling DAX PRODUCTX funcction in power bi to have a result same like PRODUCT function in EXCEL.
But unfortunatly didn't get the expected result as showed in excel.
EXCEL
POWER BI
appreciate any help.
Thanks
Solved! Go to Solution.
@hb
Please try this measure. based on your example, the following solution would work but I am not sure about what kind of actual or production data you will be implemeting on. This give an idea 🙂
PROD3 =
CALCULATE(
PRODUCTX( 'Table' , 'Table'[Column2] ),
WINDOW(
0,
REL,
-1,ABS,
SUMMARIZE( ALLSELECTED('Table') , 'Table'[Column1]),
ORDERBY( 'Table'[Column1] )
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
You are great man.
Thanks for your solution, but when i am aplying it on my project its not working as expected.
i have the matrix visual with heirarchical data [Channel] & [Due Group] as
and apply the formula like
but not geeting the result.
any idea in this context ?
Thanks
@hb
If you could replicate a PBIX file with some dummy data and show the same scenario and share the file then I should be able to see the issue.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hello Fowmy,
Can you kindly share the BI datafile for the AR dashboard, I would like to use it for learning purposes. My email address is RichardThomasG@proton.me.
Thank you so much.
@hb
Please try this measure. based on your example, the following solution would work but I am not sure about what kind of actual or production data you will be implemeting on. This give an idea 🙂
PROD3 =
CALCULATE(
PRODUCTX( 'Table' , 'Table'[Column2] ),
WINDOW(
0,
REL,
-1,ABS,
SUMMARIZE( ALLSELECTED('Table') , 'Table'[Column1]),
ORDERBY( 'Table'[Column1] )
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
2 |