Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Rabacov
Regular Visitor

Display Active NAV licenses over time

Hello all,

 

I wonder if anyone could help with this. The IT team from the company I work for are currently looking into building a Power BI Dashboard and display the number of active Microsoft NAV active licenses at any given point in time. 

 

I managed to find a SQL table on NAV that has the following columns:

 

Server Instance IDSession IDEvent DatetimeLogonClient TypeDatabase Name
12275228/10/2017 10:01Logon0ActeonNAV
12275228/10/2017 10:41Logoff0ActeonNAV

 

For every Session ID, there is a Logon and Logoff time. I then created a new column with SQL called "duration" which is basically doing "logoff time - logon time". This would indicate how long that Session ID was active for. 

 

I wonder now how is the best way to go about creating this graph with Power BI? This should be a line chart that would show the number of active licenses over time. In other words I would be using a count of Session ID for anytime this comes active at any given point in time. 

 

Any ideas? 

 

Thanks in advance

Best

Eric

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Rabacov,

 

Here is a similar case. You may have a look.

https://community.powerbi.com/t5/Desktop/Trend-from-History-Table/td-p/199565

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Rabacov,

 

Here is a similar case. You may have a look.

https://community.powerbi.com/t5/Desktop/Trend-from-History-Table/td-p/199565

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.