How to find json link

When we navigate a website sometimes we come across web pages that contain a set of KPI and very interesting numerical indicators that we would like to exploit.

For example if we connect the of the 2014 World Cup statistics page we find a number of very interesting information that maybe we’d like to use . This type of information , however, can not be used directly as a table as well as on PowerPivot because its format is not a table:


Continua a leggere

PowerPivot import Web/Json page

Often you happen to find online a range of data and information that we are interested to import directly into our PowerPivot models .

Of course, the simplest solution would be to write everything by hand , but of course would require much time and effort .

But we can get help from power queries to overcome this problem . at this point , however, we distinguish two types of data :

  • Table directly exposed on a website , we think , for example, a table of wikipedia
  • Table instead exposes a result deriving makes a json file

We face two types separately


Continua a leggere

Dax Tips and Tricks: Divide vs Divide

An interesting function on DAX si DiVIDE.

Un interessante funzione che pochi conoscono e sfruttano in DAX è DIVIDE. It often happens that when you create a measure in dax , especially if you take advantage of the time intelligence you want to create delta and Delta % Measure.

Normally a person would write , to make a Delta % vs PY CY , the following formula :

Delta % CY vs PY := ([AMount CY] -[Amount PY]) / [Amount PY]

What usually happens is the abscence of py data, dax not handle in automatic a value divide by zero  and this is what happen:


A simple solution can be use the if statement:

if(isblank([amount py]);0;formula).

This Formula is very inefficient for you and for the model, you have to use this:

Delta % CY vs PY:=divide([AMount CY] -[Amount PY];[Amount PY];0)

In automatic way Dax control if it’s possible to do the division, if isn’t possible then:

  • insert blank value if i don’t insert nothing in the formula
  • Insert specific value ( in our example the zero value)

Block Power Pivot Update

Often it happens to have to create a PowerPivot model complex as logic and calculations , and as we know every time we make a change to the data model or to a measure that will be set to calculate the entire sheet and all associated pivot tables .

Quite annoying if the model takes 1 or 2 minutes each time . A good solution identified online is to install an add-on , I have tested it on excel 2010 2013 and by problems .


Continua a leggere

PowerPivot, Come e quando usarlo?

geoflowNegli ultimi 3 anni si parla di questo “Magico” componente, che dovrebbe risolvere tutti i problemi dei nostri cari amici “IT” e rendere la vita più facile a tutti gli utenti.

Presente a partire da Excel 2010 come un semplice add-in, nel tempo si è evoluto e sviluppato velocemente. Basti pensare a tutti gli strumenti aggiuntivi che Microsoft ha rilasciato per migliorare Powerpivot.

Quello che però che si denota subito ad un primo impatto con questa “soluzione” è l’eterna confusione ci sia intorno a questo nuovo motore, ed è difficile anche solo capire che cosa ci serve per iniziare a lavorarci. Cerchiamo di rispondere ad un paio di semplici domande, per capire cosa ci vuole per iniziare.

Continua a leggere