Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
can you help me to convert a Calculated Column to DAX measure ?
This is the model:
and this is the calculated coloumn:
I would convert to measure...
Thanks
Solved! Go to Solution.
Hi @danidicky ,
Please try below dax formula:
Da_produrre =
SUMX (
Articoli,
IF (
[Speciale] = 1,
IF ( RELATED ( VISART[Effettiva] ) < 0, - RELATED ( VISART[Effettiva] ), 0 ),
IF (
( DIVIDE ( [Bad Dinamico], 240 ) * 30 )
- RELATED ( VISART[Effettiva] ) <= 0,
0,
CEILING (
( DIVIDE ( [Bad Dinamico], 240 ) * 30 )
- RELATED ( VISART[Effettiva] ),
[Pz_Pallet]
)
)
)
)
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @danidicky ,
Please try below dax formula:
Da_produrre =
SUMX (
Articoli,
IF (
[Speciale] = 1,
IF ( RELATED ( VISART[Effettiva] ) < 0, - RELATED ( VISART[Effettiva] ), 0 ),
IF (
( DIVIDE ( [Bad Dinamico], 240 ) * 30 )
- RELATED ( VISART[Effettiva] ) <= 0,
0,
CEILING (
( DIVIDE ( [Bad Dinamico], 240 ) * 30 )
- RELATED ( VISART[Effettiva] ),
[Pz_Pallet]
)
)
)
)
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |