Klemen's Blog

kl82slo.github.io

MicroStrategy - Distribution Services - Bursting email

19 Mar 2022

Dificulty ★★☆☆☆

Intro

How to use table as source for emails and filters whithin distribution service.

Source

For this example I will be using the following report
BASIC_DATA_01

And for easier understanding of the following here are the sources for it
BASIC_DATA_01

BASIC_DATA_01

Crate table

The first thing you need to do is create a new table with

  
CREATE TABLE [dbo].[Email_Bursting](
	  Country	[smallint]  NULL
	, Email		[varchar](70) NULL
	, Report	[varchar](20) NULL
) 

input some data

  
INSERT INTO [dbo].[Email_Bursting]
           ([Country]
           ,[Email]
           ,[Report])
     VALUES
          (705,'demo_email1.gmail.com','Report 1')
	, (191,'demo_email1.gmail.com','Report 1')
	, (642,'demo_email1.gmail.com','Report 1')
	, (705,'demo_email2.gmail.com','Report 1')
	, (300,'demo_email3.gmail.com','Report 1')
	, (724,'demo_email3.gmail.com','Report 2')
	

BASIC_DATA_01

Registring new table in MicroStrategy

When you import the new table don’t forget to set Email as ‘Form format’ type ‘Email’. BASIC_DATA_01

and set the Parent/Child correctly BASIC_DATA_01

Limiting reports

If you have different requirements don’t forget to limit them on report BASIC_DATA_01

Result for first email
BASIC_DATA_01

Result for second email
BASIC_DATA_01

Subscription

Once ready go to subscription and set ‘Burst’ to email. BASIC_DATA_01

BASIC_DATA_01

And that is it.

Additional sources

KB221199