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
I have two tables. First table has product and warehouse wise price for various dates in current year and second table has the product and warehouse wise quantity as on date. I had created a measure to pickup the latest date using the below DAX code in the first table -
How do I ensure that the total displayed is actually the sum of all items.
Hi,
Share the download link of the PBI file.
Hi, @Sreerams26
I simulated some data to hopefully match your situation. Please mainly look at the method.
[Lastest Price] is a measure.
Measure = SUM('Table'[Physical Inventory])*[Lastest Price]Inventory Value = IF(HASONEVALUE('Table'[Unique item]),[Measure],SUMX('Table',[Measure]))
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
First of all, thanks for the response. I am not sure if I did it correctly, still I am not getting the right response. Based on your suggestion, I made the necessary changes in the formula. The total in Group ASIA is reconciling howerver, none of the other groups match. So wondering what could be missing?
Hi, @Sreerams26
Sample data:
The formula does not change.
If your results are inconsistent with expectations, can you provide more data?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 32 | |
| 32 | |
| 32 |