March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
11 | |
6 | |
5 |
User | Count |
---|---|
29 | |
22 | |
20 | |
13 | |
10 |