Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all;
Need help.
Currently, the visuals below is showing Sum of Inventories filtered by Mth End Close (Month End Close) & Corporate BU (Business Units).
Mth End Close: months eg; Jul2023, Aug2023, Sep2023....so on & so forth.
Corporate BU: referring to: Renewable Energy/ Construction/ Properties/ Plantation/ Manufacturing
Inventories - referring to stock holding as at the end of a particular month.
If i want to show inventories across different Corporate BU & across different month; then visual#1 makes sense as it will show the trend of stock holding.
However, visual #2 is distorted because it ADDS UP the inventories across different months.
Hence, IF the filter is Month End Close; ALL -> then, how to blank out Visual #2??
Also, IF the user clicks on say -> Apr2024 (Orange Color) which depicts Renewable Energy -> then, can Visual #2 shows the level of inventories by Customer inside the business unit (Renewable Energy) for Apr2024?
Hi @kancs9128
Please try the following DAX:
Inventory =
IF(
ISFILTERED('Date'[Month End Close]) &&
SELECTEDVALUE('Date'[Month End Close]) = "ALL",
BLANK(),
SUM('Inventory'[Inventories])
)
This measure will check if the "Month End Close" filter is set to "ALL" and, if so, return blank; otherwise, it will sum the inventories.
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
I applied this formulae:
this is after putting in the measure inside the filter.
Hi - "Month End Close" filter is set to "ALL"
but then, when applying the formulae - still unable to get Blank ().
Hi Jayleny, how do i "whack" this DAX into the visual? Can illustrate step by step?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |