Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all,
I have following code, it works at the moment.
Solved! Go to Solution.
@reynold522
Before I start asking you questions, I would like you first try:
DoDoverboundaryN =
IF (
ISINSCOPE ( TRACKSHEET[IoT_ID_NUMBER] ),
CALCULATE (
VAR MaxDoD = [Max DoD]
VAR Capacitythreshold =
SUM ( TRACKSHEET[Capacitythreshold] )
RETURN
IF (
Capacitythreshold > ABS ( [Max DoD] ),
0,
DIVIDE ( MaxDoD, Capacitythreshold )
),
ALL ( DimDate[Date] )
)
)
Thank you I tried this and wrote it in top of my code. it was not working due to measure divide column,
is it possible to share your suggested code?
Thanks in advance!
@reynold522
Before I start asking you questions, I would like you first try:
DoDoverboundaryN =
IF (
ISINSCOPE ( TRACKSHEET[IoT_ID_NUMBER] ),
CALCULATE (
VAR MaxDoD = [Max DoD]
VAR Capacitythreshold =
SUM ( TRACKSHEET[Capacitythreshold] )
RETURN
IF (
Capacitythreshold > ABS ( [Max DoD] ),
0,
DIVIDE ( MaxDoD, Capacitythreshold )
),
ALL ( DimDate[Date] )
)
)
thank you a lot. It works
User | Count |
---|---|
55 | |
22 | |
18 | |
16 | |
11 |
User | Count |
---|---|
81 | |
55 | |
39 | |
20 | |
13 |