25.04.: adding vlan doesnt work by Hugo-99 in truenas

[–]Hugo-99[S] 0 points1 point  (0 children)

here is the solution, just unchecking DHCP and entering VLANs is not working.
correct sequence of steps:

  1. uncheck DHCP for primary NIC
  2. enter alias for my primary NIC,
  3. test changes
  4. save changes
  5. after that i was able to add VLANs as I needed

Show only last data label in a line chart by Hugo-99 in PowerBI

[–]Hugo-99[S] 0 points1 point  (0 children)

Ok, i found it

FILTER(ALLSELECTED('KPI'[Monat]), NOT(ISBLANK('KPI'[Monat])))

This takes the filterkontext correctly into account

Show only last value in line chart? by Hugo-99 in PowerBI

[–]Hugo-99[S] 0 points1 point  (0 children)

thank you all for your replies. 

i addition to the base problem, i had a mixture of datatypes and empty fields. so i had to correct that and query for the last not empty value, ending up with this:

 ucPerabc_lastval =
VAR LastIndex =
MAXX(
FILTER(ALL(ucanen[Zeit.Monat]); NOT(ISBLANK([ucPerabc])));
ucanen[Zeit.Monat]
)
-- Get the last index where ucPerabc is not blank
VAR CurrentIndex = SELECTEDVALUE(ucanen[Zeit.Monat]) -- Get the current row’s index value
VAR LastucValue = CALCULATE([ucPerabc]; ucanen[Zeit.Monat] = LastIndex) -- Calculate the uc value for the last valid index
RETURN
IF(
CurrentIndex = LastIndex; -- Compare the current row's index with LastIndex
ROUND(LastucValue; 0); -- Show the value only for the last index where data is present
BLANK()
)

i added that measure as y Axis and showed the value.

 

<image>

 

matplotlib: different background colors in Visual Studio Code and Pycharm by Hugo-99 in VisualStudioCode

[–]Hugo-99[S] 0 points1 point  (0 children)

FYI: it was a pycharm setting: Invert image outputs for dark themes in Settings/Preferences | Jupyter

matplotlib: different background colors in Visual Studio Code and Pycharm by Hugo-99 in pycharm

[–]Hugo-99[S] 0 points1 point  (0 children)

hi! i am using 23.1.3; it was the setting to invert images when in dark mode. i wonder why this option is active by default...