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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Group on just one level

Just beginning with power bi and I seem to struggle with even the simplest of tasks 🙂

 

I have the following table

 

Name      Datetime               FieldName NewValue OldValue

PersonA  22/01/2019 9:24      FIeldA         10             0

PersonA  23/01/2019 10:35    FIeldA         25            10

PersonA  23/01/2019 10:36    FIeldB         15            0

PersonB  21/01/2019 10:35    FIeldA         0            15

PersonB  22/01/2019 8:35      FIeldB         10            5 

 

I just  want something like in my report

 

Person A

          22/01/2019 9:24      FIeldA         10             0

          23/01/2019 10:35    FIeldA         25            10

          23/01/2019 10:36    FIeldB         15            0

Person B

          21/01/2019 10:35    FIeldA         0            15

         22/01/2019 8:35      FIeldB         10            5 

 

I tried it with a table and a matrix and I can't seem to do it

7 REPLIES 7
PattemManohar
Community Champion
Community Champion

@Anonymous Please use Matrix as below

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

Hi Pattem,

 

If I try that it gets the First() value of fieldname, newvalue,oldvalue so not the required result.

 

This wasn't clear in the example I gave but the combination username, fieldname, time is not unique

 

I basically want a detail table but with a grouping on username

@Anonymous Please provide the sample data to replicate your issue.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

USERNAME;FieldName;CREATEDDATETIME;NewValue;OldValue
USERA;GDTotalCostAmountMST;22/01/2019 14:48;520;0
USERA;GDTotalCostAmountMST;22/01/2019 14:44;81550;0
USERA;GDTotalCostAmountMST;22/01/2019 14:43;12250;0
USERA;GDTotalCostAmountMST;22/01/2019 14:43;804.48;0
USERA;GDTotalCostAmountMST;22/01/2019 14:42;43334.8;0
USERA;GDTotalCostAmountMST;22/01/2019 14:34;-43334.8;0
USERA;GDTotalCostAmountMST;22/01/2019 14:32;1600;0
USERA;GDTotalCostAmountMST;22/01/2019 14:32;280;0
USERA;GDTotalCostAmountMST;22/01/2019 14:32;39000;0
USERA;GDTotalCostAmountMST;22/01/2019 14:33;41.72;0
USERA;GDTotalCostAmountMST;22/01/2019 14:33;11000;0
USERA;GDTotalCostAmountMST;22/01/2019 14:33;2200;0
USERB;GDTotalCostAmountMST;22/01/2019 9:24;0;623
USERB;GDTotalCostAmountMST;22/01/2019 9:24;623;0
USERB;GDTotalCostAmountMST;22/01/2019 9:32;0;143.76
USERB;GDTotalCostAmountMST;22/01/2019 9:32;143.76;0
USERB;GDTotalCostAmountMST;22/01/2019 10:36;0;572.76
USERB;GDTotalCostAmountMST;22/01/2019 10:36;572.76;0

Hi @Anonymous,

 

Is the excepted result you need?

 

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Sorry no, I don't want the old and new value summed/counted I just want them exactly as they appear in the data, but without the repeating username (it is just a layout thing)

so using my example

 

USERA

     GDTotalCostAmountMST  22/01/2019 14:48 520  0
     GDTotalCostAmountMST;22/01/2019 14:44;81550;0
     GDTotalCostAmountMST;22/01/2019 14:43;12250;0
     GDTotalCostAmountMST;22/01/2019 14:43;804.48;0
     GDTotalCostAmountMST;22/01/2019 14:42;43334.8;0
     GDTotalCostAmountMST;22/01/2019 14:34;-43334.8;0
     GDTotalCostAmountMST;22/01/2019 14:32;1600;0
     GDTotalCostAmountMST;22/01/2019 14:32;280;0
     GDTotalCostAmountMST;22/01/2019 14:32;39000;0
     GDTotalCostAmountMST;22/01/2019 14:33;41.72;0
     GDTotalCostAmountMST;22/01/2019 14:33;11000;0
     GDTotalCostAmountMST;22/01/2019 14:33;2200;0

USERB
     GDTotalCostAmountMST;22/01/2019 9:24;0;623
     GDTotalCostAmountMST;22/01/2019 9:24;623;0
     GDTotalCostAmountMST;22/01/2019 9:32;0;143.76
     GDTotalCostAmountMST;22/01/2019 9:32;143.76;0
     GDTotalCostAmountMST;22/01/2019 10:36;0;572.76
     GDTotalCostAmountMST;22/01/2019 10:36;572.76;0

Anonymous
Not applicable

In SSRS I would just do

 

 

ssrs.jpg

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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