Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi @Anonymous ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
Hi,
Didnt really work for me, instead i decided to do a running total of the total materials and as such i could see each day the value went below a 0
Hi @Anonymous ,
You can create a measure as below to get the week total:
Week total =
VAR _selmt =
SELECTEDVALUE ( 'Table'[[Material] )
VAR _seldesc =
SELECTEDVALUE ( 'Table'[Material Description] )
VAR _seluom =
SELECTEDVALUE ( 'Table'[Base UOM] )
VAR _selmrpe =
SELECTEDVALUE ( 'Table'[MRP element] )
VAR _selindi =
SELECTEDVALUE ( 'Table'[ABC Indicator] )
VAR _selpdate =
SELECTEDVALUE ( 'Table'[Planned dates] )
RETURN
CALCULATE (
COUNT ( 'Table'[Material] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Material] = _selmt
&& 'Table'[Material Description] = _seldesc
&& 'Table'[Base UOM] = _seluom
&& 'Table'[MRP element] = _selmrpe
&& 'Table'[ABC Indicator] = _selindi
&& WEEKNUM ( 'Table'[Planned dates], 1 ) = WEEKNUM ( _selpdate, 1 )
)
)
If the above one is not working, please provide some raw data in your table(s) (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
21 | |
2 | |
2 | |
2 | |
2 |