Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi All ,
Struggling with some basic dax.
I have a measure
onnected Status =
IF(
ISBLANK([Working Days in This Period]) || ISBLANK([Working Days in This Period 2]),
BLANK(),
IF([Days Missed] >= 1, "Not Connected", "Connected")
)
Days Missed = [Working Days in This Period 2] - [Working Days in This Period]
So working days in this period is a date diff from there indivudal meters from start to end date , the working in this period 2 is the start to end date of the table.
This allows me to do working days in this period 2 - working days in this period and if it is above or equal to 1 there is missing data.
Connected = CALCULATE(DISTINCTCOUNT('National Grid Data'[Meter Name (groups)]), FILTER('National Grid Data' , [Connected Status] = "Connected"))
Not Connected new = CALCULATE(DISTINCTCOUNT('National Grid Data'[Meter Name (groups)]) , FILTER('National Grid Data',[Connected Status] = "Not Connected"))
So from the above example it should day one is not connected however it says none are and that all devices are connected ?
Any help would be appericated,
Thanks , James.
Hi @JamesBurke
As always, please post a workable sample data - not an image, a link to an excel file, etc - and your expected result from that.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |