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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Z_BI
Frequent Visitor

Create Pivot from table

Hi there, 

i have a table that contains 3 columns

1 - "Conteggio Scontrini" -> trad: Count Receipts

2 - Date

3 - "Carta" -> Fidelity Card No_

 

Each row shows how many receipts were issued that day for that fidelity card.

Z_BI_0-1694436062686.png

 

I would like to have from this table a representation something like Pivot.

Example below in Excel.

 

Z_BI_1-1694436178719.png

 

So, how many fidelity cards have a receipt, how many 2, how many 3, etc etc etc.
Taking the dates into consideration, it must therefore be not static but dynamic data

 

Please help me

All the best

 

 

4 REPLIES 4
Mani_1
Frequent Visitor

Hi @Z_BI ,

In the report view select matrix or table in visualization and add Conteggio Scontrini,Carta in columns. Then right click on feild and select "count". similarly you can add filter from visualization, add date into it.

 

Thanks

Screenshot 2023-09-11 151107.png

Z_BI
Frequent Visitor

Hi @Mani_1 , 

thnx to reply.

If I do what you show me the results is not good.

 

Z_BI_0-1694438323106.png

 

Applicated COUNT in "Conteggio di carta". I need to have "COUNT RECEIPES" divied 

1

2

3

4

etc etc

Mani_1
Frequent Visitor

Hi @Z_BI ,

Can you provide sample data??

Z_BI
Frequent Visitor

Sure, here below.

Table dates

Z_BI_0-1694438765677.png

In report, at the moment, i have this visual

Z_BI_1-1694438809722.png

Field "Carta" - no summerize

Filed "Conteggio Scontrini" - SUM

my need, in a simpler way, is to answer this question: "in a given period of time I select how many loyalty cards have had a receipt? How many 2? and so on....

 

Let me know if you somenthing

thanx for your support

 

All the best

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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