Forum Discussion
GMadd
Helper I
2 years agoDistinct Net Value From Deliveries
I am pulling a report from my ERP that lists deliveries shipped at the item level but populates the total net value shipped for delivery on each item line (repeating the total net value for the de...
- 2 years ago
Net Val = SUMX(FILTER(SUMMARIZE('Delivery Tracking',[Delivery],[Act. Gds Mvmnt Date],[Net Value]),FORMAT([Act. Gds Mvmnt Date],"yyyymm")=FORMAT(TODAY(),"yyyymm")),[Net Value]) - 2 years ago
FORMAT([Act. Gds Mvmnt Date],"yyyymm")=FORMAT(TODAY(),"yyyymm")We are comparing the YearMonth of your data against the YearMonth of the "current" month, ie today's month.
lbendlin
Super User
2 years agoYou can use the implicit "Count (Distinct)" in the visual for that, or implement the same in the formula explicitly.
GMadd
Helper I
2 years agoRight I am using this below to get the distinct count of deliveries but can't seem to restrict it to the current month.
Count of Deliveries Shipped = DISTINCTCOUNT('Delivery Tracking'[Delivery])