dinamic
2 TopicsMaking a dinamic filter with dax
Hi, I'm kinda new to PBI and i really need to solve the following problem: I have stock data of different stores to the last day of each month, but for some technical reason, there are a few record that has no data. It looks like this: I have a date slicer, but I also want to make a dinamic filter somehow (with respect to the date slicer) to filter out those store, where i don't have data for each month. Something like this: I tried to figure it out, but it doesn't work, and I dont even know if I'm on the right way... Here's my attempt: If I create a table with this code and return the StoreToFilter variable, this works as I expect, and returns the stores that has data for every monhts, but in the report, I can't figure it out, how to use it as a filter. I uploaded the dummy data here: https://docs.google.com/spreadsheets/d/1ArDbLjXZZLKo8oA6CJ6NJbY2l1zRAH0j7IdlR1SKTGo/edit#gid=0 I hope my explanation was clear, and thank you for the help in advance!705Views0likes2CommentsDynamic Message using the system username
Hi there! i have this code which consists of making a greeting to the person who enter the dashboard, how do I get the system username printed on the message? like.. if the system is called "John Computer" I want the message to appear "Good afternoon John Computer, is that's possible? Welcome Text = VAR Hour = HOUR(NOW()) VAR Greeting = SWITCH( TRUE(), Hour >= 0 && Hour < 5, "Good Night", Hour >= 5 && Hour < 12, "Good Morning", Hour >= 12 && Hour < 18, "Good Afternoon", Hour >= 18 && Hour < 24, "Good Evening" ) RETURN Greeting & " Murilo"Solved1.8KViews0likes6Comments