Question Evgeny Shvarov · Jan 24, 2017

Hi, All!

What is the calculated measure expression for the percentage of a member?

Say in Holefoods I want to see in a Cols Online sales in Revenue, All the revenue and % of Online sales for the Revenue?

I have the following:

With expression:

SELECT NON EMPTY {NONEMPTYCROSSJOIN([Channel].[H1].[Channel Name].&[2],[Measures].[Amount Sold]),[Measures].[Amount Sold]} ON 0 FROM [HOLEFOODS]

How can I add the percentage of All in Revenue for Online channel?

5
0 595
Announcement Evgeny Shvarov · Jan 18, 2017

Hi, Community!

Over 600 different authors posted anything on Developer Community in 2016. 

Developer Community contains some brilliant pieces of content because of you. Thank you!

With one of the latest DC releases we introduced "Member Follow" functionality, so you can open any members' page, follow him and be subscribed to all his new posts and comments.

Just to give you ideas who to follow in 2017 here is top 10 authors in 2016 for several nominations ;)

All the nominations do not include postings within Developer Community tag or group.

Top 10 Contributors 

Authors who posted the most articles

1
0 389
Article Evgeny Shvarov · Jan 12, 2017 1m read

Hi, Community!

We are fixing groups, tags and message types for the several last year's postings.

So that's why you are getting "strange" notifications now with no any new comment.

As a result, you'll get better tagging and for the DC articles and questions.

Anyway, you can turn off the "OnUpdate" notifications as it is described here.

0
0 249
Announcement Evgeny Shvarov · Jan 10, 2017

Hi Community!

In this release we turned off the digest mode for all the members (until it would be fixed) and fixed the Update notifications: now this settings can be found in the same place for all the members: Subscriptions/Content types tab.

Meet in this small release the new very valuable feature: marking answers as "true" answers.

If you are an author of the question now you can choose the right answer if there are more than one and mark it with the green checkbox. Like it is shown here:

If there are more than one answer, the "true" one will be shown topmost.

The question for the Community:

6
0 792
Article Evgeny Shvarov · Jan 5, 2017 1m read

Hi!

Today DC supports the notifications for the posts' updates. It means if someone changes the post text, title, group or tag you can be notified about that.

But this notifications just inform that there were updates, but do not show what exactly was changed in the post.

So through this, you can get the notifications for the posts from previous years without any reason what's happened.

I would suggest to turn off this types of notifications until we'll implement the details in notifications, what exactly was changed in the post and why did you get it. 

To turn off the update notifications go to

15
0 583
Announcement Evgeny Shvarov · Jan 3, 2017

Hi, Community!

We have 2017 year on the calendar, so it's time to look back on 2016 and find some highlights.

Here is the set of Top-20 questions regarding InterSystems technology you posted in 2016.

Most viewed

Anyone using Visual Studio Code?, by John Murray  1062

Import/export data from InterSystems Caché, by Evgeny Shvarov  942

How can I pass multiple parameters to an Ensemble REST service and return an authorization token as a response JSON message, by Joshua Goldman  917

How to install and configure Atelier?, by Ronaldo Nascimento  793

how to connect to the Cache database from node.js ?, by Sha

5
0 1360
Question Evgeny Shvarov · Dec 18, 2016

Hi, community!

Consider you need to exclude substring(s) from a string.

I did it with the following snippet:

/// excludes all the substrings from the string
ClassMethod ExcludeSubstring(substr,str as %String) As %String

{

 while ($L(str,substr)>1) {

 set str=$Piece(str,substr)_$Piece(str,substr,2,*)

            }

 quit str

}

So, for example:

USER> set str=”ExcludemeGoodstringExcludemeExcludemeGoodstring” w ##class(User.Utils).ExcludeSubstring(“Excludeme”,str)

GoodstringGoodstring

Is this the optimal approach or I reinvented the wheel?

2
0 498
Question Evgeny Shvarov · Dec 14, 2016

Hi, Community!

We have our internal backup system which produces *.cbk files for Full, Incremental and Cumulative backup modes.

Does anyone have an automation procedure to restore this files on some target testing system, check the integrity and mark the files as "restorable"?

Please, share?

Thank you in advance!

2
0 507
Announcement Evgeny Shvarov · Dec 2, 2016

Hi!

We updated the DC a bit.

Member's answers

With this release, you can see the answers on the member's page too.

E.g. see the answers by Timothy Leavitt

Post updates don't move the post to top

So we can fix the tags, spelling and make other updates to the post and it would not be moved to top anymore. 

Now only new answers and comments move the post to the top of the feed.

RSS and other bug fixes

Now bugs for RSS feeds are fixed.

Also, Votes renamed to Rating and has the color indication now. Green means good!

Stay tuned for the next DC improvements!

1
0 245
Announcement Evgeny Shvarov · Nov 2, 2016

Hi, Community!

Let me introduce  Dmitry Maslennikov as our new Developer Community Moderator.

Dmitry continuously shows the outstanding contribution to InterSystems Developer Community and we decided to trust Dmitry this role and hope that Dmitry can even help to make the Developer Community better in this new status.

Thanks for your great contribution, Dmitry! 

And, we are looking for the new moderators from Community!  

InterSystems Developer Community is growing! yes

1
0 337
Announcement Evgeny Shvarov · Oct 31, 2016

Hi, Community!

We deployed the new update on DC and it brings:

  • The new post subscriptions/favorites model
  • Some menu changes
  • Bug fixes.

The new post subscriptions/favorites model:

with every post you now see the star in the left bottom corner of the widget in the feed or of the post.

Click on it and it turns to yellow which means that you store it in your "Favorites" tab which you can find later in your member's page like it is shown in my one.

Also, that means you automatically subscribed to email notifications on all the changes in this post.

Click it again to unfavorite/unsubscribe the article.

The

0
0 391
Question Evgeny Shvarov · Oct 28, 2016

There is an interesting discussion in the Russian forum going. 

What is the best solution for the function which returns the max for the set of parameters?

From the listed solutions I like this one:

ClassMethod max(args...) {
  for i=1:1:args {  max(+$g(args(i))) = }
  i=""max=$o(max(i),-1, iQ $lb(maxi)
}
8
0 1082
Announcement Evgeny Shvarov · Oct 26, 2016

Hi, Community!

This place is getting bigger and today we reached 2.000 of registered members on InterSystems Developer Community!

Recently we introduced online analytics (build on InterSystems DeepSee) of main figures regarding Developer Community. 

You can find the analytics in the menu Community->Analytics:

So you can click on the dashboards and cells and drill down to the daily posts, tags or examine the current leaderboard of the most active and helpful members.

Thanks for your participation and contribution! yes

0
0 222
Announcement Evgeny Shvarov · Oct 24, 2016

Hi, Community!

We put in production the new DC update today. With this update we fixed some bugs, like publishing drafts with proper date and RSS fix and introduced the new look to the member page.

Now member's page consists of Posts, Comments, and Favorites: e.g. this is the page of Alexander Koblov:

 

With this update you can see all the contributions and interests of your favorite author on DC.

Hope you like it!

Next weeks we prepare some new good updates! Stay tuned!

8
0 416
Announcement Evgeny Shvarov · Oct 1, 2016

Hi, Community!

Here is the digest of Articles and Questions published on InterSystems Developer Community in September 2016.

Most viewed

Mirroring 101: a brief guide and FAQ - 238

NewBie's Corner Session 27 Traversing A Global with $Order Part 1 - 214

Cache for Raspberry Pi? - 209

Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 199

REST in Pieces - 196

User authentication using Arduino with RFID - 146

Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 143

Cache or Caché? - 141

NewBie's Corner Session 28 Various Methods to Traverse a Global - 134

Cache Certification - 128

Most voted

Ensemble and file outbound adapters - a small hint - 11

Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 9

Windows write caching - 9

Advanced URL mapping for REST - 6

Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 6

Featured InterSystems Video: OAuth 2.0 Overview - 6

The Art of Mapping Globals to Classes  (2 of 3) - 5

Running HealthShare XSLTs from Terminal - 5

Cache for Raspberry Pi? - 5

Cache or Caché? - 5

Most commented

NewBie's Corner Session 27 Traversing A Global with $Order Part 1 - 16

Cache for Raspberry Pi? - 14

question on ExternalFreeze on windows platform -- - 14

Cache or Caché? - 12

Mirroring 101: a brief guide and FAQ - 10

Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 9

Multiple namespaces in web application - 8

cleaning up CSP sessions (aka where/who/what is the %CSP.Daemon?) - 8

NewBie's Corner Session 28 Various Methods to Traverse a Global - 8

Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 7

0
0 404