Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi I have two Tables, one from Okta and one from M365. Both tables include username, lastlogin and created dates. I want to report the latest "login" activity from the two tables etc.
So far i have created a new Table called Users, and created a link between the two Username columns from the Okta and M365 tables.
I also created some measures to get the Max lastlogin date from each table for each user (i think), using this query.
LatestSignin = MAX ( CALCULATE ( MAX ( M365[LastLoginDate] ) ), CALCULATE ( MAX ( Okta[LastLoginDate] ) ) )
I obvisouly also tried created a SigninDateTable, but that seems to be based on either M365 or Okta, rather then both??
With all of the above, in its current state, i can drag in Username and LatestSignin from the Users table, into a Table Visual and it appears to work fine, but i cannot use the LatestSignin measure in a Bar chart or any other visual.
In general i am trying to say "Get all the data from both M365 and Okta Tables, marry it together, then give me the latest dates, so that i can use them in vusuals and more importantly, report on my active & inactive users."
Is my model all wrong at a fundamental level, or am i just missing something still?
Solved! Go to Solution.
@Anonymous your model is correct and you are on a right track. You cannot visualize dates as values on the bar chart, only numeric values can be visualized on the bar charts. What do you want to visualize on the bar chart once you have LastSignIn information?
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous measures cannot be used on the x-axis
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous your model is correct and you are on a right track. You cannot visualize dates as values on the bar chart, only numeric values can be visualized on the bar charts. What do you want to visualize on the bar chart once you have LastSignIn information?
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi 👋
with the LastSignin measure, I assume it's a Date data type, so why wouldn't I be able to use it on the X axis for a histogram time based visual.
I'd like to show last signing date in a time based bar chart
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |