söndag 25 juni 2017

PowerBI & DAX

Microsoft Data Summit Day 1 RecapMicrosoft Data Insights Summit Day 2
Link: Day1Day2

PowerBI UserGroups Attachements, NorwayUserGroup


PowerBI & Visio


----


RatioToParent_Ordered:=
IF (
    ISFILTERED ( Product[HProduct] ),
    SUM ( 'Internet Sales'[Sales Amount] )
        / CALCULATE ( SUM ( 'Internet Sales'[Sales Amount] ), ALL ( Product[HProduct] ) ),
    IF (
        ISFILTERED ( Product[HModel] ),
        SUM ( 'Internet Sales'[Sales Amount] )
            / CALCULATE ( SUM ( 'Internet Sales'[Sales Amount] ), ALL ( Product[HModel] ) ),
        IF (
            ISFILTERED ( Product[HSubcategory] ),
            SUM ( 'Internet Sales'[Sales Amount] )
                / CALCULATE (
                    SUM ( 'Internet Sales'[Sales Amount] ),
                    ALL ( Product[HSubcategory] )
                ),
            IF (
                ISFILTERED ( Product[HCategory] ),
                SUM ( 'Internet Sales'[Sales Amount] )
                    / CALCULATE ( SUM ( 'Internet Sales'[Sales Amount] ), ALL ( Product[HCategory] ) )
            )
        )
    )
)
Link: 4 hierarchies



--
Slicers to Choose Which Measure to Display

Link

---
The Logic behind the Magic of DAX

Source

---
Other
* DAX+MDX files
* World Wide Importer db
* VBA Chart-arrows
* DAX Rolling 5yrs park
---


https://youtu.be/1yWLhxYoq88?t=2987




---

Row Level Security In Power BI – Star Wars Challenge

https://datachant.com/2017/05/24/row-level-security-power-bi/

---

BOM database
http://www.thebiccountant.com/2017/06/13/bill-of-material-bom-explosion-part2-costing-in-excel-and-powerbi/


---

Use a "Reference" as "DB Connection".
Power BI queries with single data connectionPower BI query rename existing connection

---

Unpivot Nested Tables



----
The Analytical process


Pic: Link


Pic: From MSDataSummit

Pic. pdf and the Interactive model

---
Measure Influencing Dimensions (resources)

Source: Intelligent Process Modeling and Monitoring with Visio and Power BI - YouTube

---
Democracy Indicator

---

Make a story



----
Photo published for Inside Europe’s biggest data visualisation laboratory
Pic: Inside Europe’s biggest data visualisation laboratory. Imperial Collage London maps bitcon transactions across 64 screens (link)


---

---


---
Trump Lies

söndag 23 april 2017

Weekend notes: ETL & SQL-Server 2017 (Graph-Model, DrillDown)

ETLPower QueryModelPower PivotDataJSONCSV, ExcelStreaming datasetsSourcesDatabasesAPIs/SaaSFilesViewPivot Tab...
Source: https://www.slideshare.net/oliviertravers/microsoft-power-stack-2017


PowerQuery
DataSources --> Transformations
                             1. Clean;Extract/Transform            --> 'Data-Table'
                             2. Categories/Measures/Relations  --> 'Info.-Table'
                             3. Restrictions/Access-Roles          -->'Acc.-Table'

----
SQL-Server 2017: Drill Down + Graph-Model


1. NorthWind: Relational-Model --> Graph-Model


Image title

2-4. Foreign keys becomes Relationships, Join-Tables become Relationships, Attributes...
Image title

5. Graph 
Image title

mÄndag 17 april 2017

Tableau - Zen Masters

----
----

---

---

----

---

----


---


---

lördag 25 mars 2017

Weekend Notes - Manage Sets

Manage Sets (MDX)

The Pivot Pictured Here Acts as if We’ve Swapped Out Fields on Rows – in Response to a Slicer Click! DAX and MDX Trick For the Win!

MDX with boxes
{[DimCustomer].[CustomerGeo].[All],
IIF( [Measures].[Distinct Count of Country] > 1,
[DimCustomer].[CustomerGeo].[Country], [DimCustomer].[CustomerGeo].[City] }

The final result: Using Slicers to control Named Sets



----
Image result for plotly power bi


---
CONCATENATEX( )

Power BI Slicer with a Card "Readout" Telling Us What was Selected
[Selected]:= CONCATENATEX( ALLSELECTED(Products[Subcategory]),
                           
Products[Subcategory], ", " )

----
Login to Multiple Accounts
Users in Chrome Settings



---
PowerBI-gateway explained


---

EXPORTING DATA FROM POWER BI DESKTOP: Part1, PART2

AAEAAQAAAAAAAAz4AAAAJGQ5ZTk4ZGUxLTI4YjQtNDc4ZC05NTQ4LWRjNDk3OTBlYTE5OQ

--

----