Forum Discussion
Tableau Fixed LOD to PBI Issue with Filtering
Hello everyone,
I'm struggling with converting this Tableau fixed LOD expression into PBI.
Volume Industry = {fixed [Year], [Month], [Market], [Trade Channel], [ProductCategoryGroup]: SUM([Volume])}
So far in PBI I have converted this Tableau measure as follows:
Volume Industry =
CALCULATE(
SUMX('COT', 'COT'[Volume]),
ALLEXCEPT('COT', 'COT'[Date].[Year],'COT'[Date].[Month],'COT'[Date].[Date], 'COT'[Year], 'COT'[Month], 'COT'[Market], 'COT'[Trade Channel],'COT'[Product Category Group])
)
Date | Market | Trade Channel | Location | Product Group | Product | Volume |
2019-01 | Japan | Airports | Osaka | Group 1 | Product 1.1 | 10 |
2019-01 | Japan | Airports | Tokyo | Group 1 | Product 1.2 | 5 |
2019-01 | Japan | Ferries | Osaka | Group 1 | Product 1.2 | 4 |
2019-01 | Japan | Airports | Osaka | Group 2 | Product 2.1 | 20 |
2019-02 | Japan | Airports | Osaka | Group 1 | Product 1.2 | 8 |
2019-02 | Japan | Airports | Tokyo | Group 1 | Product 1.2 | 1 |
2019-02 | Japan | Ferries | Osaka | Group 2 | Product 2.1 | 10 |
2019-02 | Japan | Airports | Osaka | Group 1 | Product 1.1 | 5 |
6 Replies
- dreyz64
Helper III
amitchandak I have already looked at these links and this is how I came up with my formula.
I need specific help on my formula not generic answers that I have already checked and implemented....
- AnonymousNot applicable
HI dreyz64,
I'd like to suggest you use the following measure formula lif it suitable to your requirement:
Volume Industry = CALCULATE ( SUM ( 'COT'[Volume] ), ALLSELECTED ( 'COT' ), VALUES ( 'COT'[Date] ), VALUES ( 'COT'[Market] ), VALUES ( 'COT'[Trade Channel] ), VALUES ( 'COT'[Product ), VALUES ( 'COT'[Product Category Group] ) )If above not help, please share some dummy data to test.
BTW, You can also take a look at below blog mentioned the difference between all functions:
Managing โallโ functions in DAX: ALL, ALLSELECTED, ALLNOBLANKROW, ALLEXCEPT
Regards,
Xiaoxin Sheng