Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
Can anybody help me figure out why this formula gives inaccurate result? and how do i make it correct?
Please provide sample data and what is your desired outcome in a table format
I just need to get the right value, multiplying the ITEMCOST and QUANTITY_RATE
@Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. As most us not so familar Tableau .
Please try
Fixed Item = CALCULATE(SUMX(ASC,ASC[ItemAttributes_ITEMDIM.ITEM_COST]*ASC[QUANTITY_RATE]), ASC[ORGCODE] = "SGW")
Hello @amitchandak it's still not working and it's giving me same result from the formula i had first.
@Anonymous , I think you need multiplication at some level say item
try like
Fixed Item = CALCULATE(sumx(values(ItemAttributes_ITEMDIM[ITEMDIM])calculate( SUM(ASC[ItemAttributes_ITEMDIM.ITEM_COST])*Sum(ASC[QUANTITY_RATE]))), ASC[ORGCODE] = "SGW")
Can you share sample data and sample output in table format?
Still won't work. I just need to multiply the ITEM COST by the Quantity for those item that are ORG = SGW...
Hi @Anonymous ,
No one could help you well without sample data and expected output. Is the ASC[QUANTITY_RATE] a measure or a column?
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 32 | |
| 32 | |
| 32 |