cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Egrofal
Helper I
Helper I

Group by columns unique table

Hi all,

 

I would like to group only one of my table from my dashboard with a column date. 

Actually my table is :

CPC          Date_day

0,4           1

0,3           1

0,3           2

0,5           2

 

And I would like to have the tab group by date_day, to have this :

CPC          Date_day

0,7           1

0,8           2

 

Anywone knows how I could do ?

 

Cheers

1 ACCEPTED SOLUTION
Greg_Deckler
Super User IV
Super User IV

Well, you could use a matrix visualization although your Date_day would have to be first I believe. You could simply Sum your CPC in this and you would have what you want, I think.

 


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

3 REPLIES 3
v-micsh-msft
Microsoft
Microsoft

Hi Egrofal,

 

If there is only those two columns involved, then we could just add a Table Visual, put those two columns, then under the Values field, click the drop down list of DATE_day, choose Don't summarize, verify that the CPC dropdown list is Sum. This would allow the Table visual to display the values as what you want.

The value order doesn't matter here, what we need is to choose the function from the dropdown list, I also created another measure to sum the CPC here, CPCs :=sum(Table1[CPC]), which only need to choose Don't summarize od DATE_day dropdown list.

8.PNG9.PNG

10.PNG

Please post back if you need any further assistance on this topic.

Regards

Hi,

 

Thanks for your help @v-micsh-msft and @Greg_Deckler, and sorry for the delay.

 

I found a way to solve my problem. I add a matrix table like said @Greg_Deckler and add the day on the row. I think that is the easiest way to do it.

 

Thanks a lot !

Greg_Deckler
Super User IV
Super User IV

Well, you could use a matrix visualization although your Date_day would have to be first I believe. You could simply Sum your CPC in this and you would have what you want, I think.

 


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors