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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PaulHallam
Helper III
Helper III

Summarize data

Hi,

 

I have the following table of data
DATA_TABLE

DateSessionItemPercent
18-Feb-201145.83%
18-Feb-20120.00%
18-Feb-201325.00%
18-Feb-201437.50%
18-Feb-20150.00%
18-Feb-202166.67%
18-Feb-202254.17%
18-Feb-20230.00%
18-Feb-2024100.00%
18-Feb-202512.50%
19-Feb-201133.33%
19-Feb-201245.83%
19-Feb-201395.83%
19-Feb-20140.00%
19-Feb-201583.33%
19-Feb-202195.83%
19-Feb-20220.00%
19-Feb-202329.17%
19-Feb-202487.50%
19-Feb-202512.50%

 

I am trying to represent this data in a matrix with the following layout, with the count of percentages in each date & session range.

Date18-Feb-2018-Feb-2019-Feb-2019-Feb-20
Session1212
Percent = 02111
Percent >0%,<50%3122
Percent >50%0322

 

Im guessing 3 measures in the standard Power Bi Matrix but i cant get them right.

Any help greatly appreciated,

Thanks

 

P

3 REPLIES 3
camargos88
Community Champion
Community Champion

Hi @PaulHallam ,

 

Create this calculated column:

DescSession =
IF(DATA_TABLE[Percent] = 0; "Percent = 0";
IF(DATA_TABLE[Percent] > 0 && DATA_TABLE[Percent] < 50; "Percent >0%,<50%"; "Percent >50%"))
 
Capture.PNG


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

Proud to be a Super User!



That just adds names it doesnt sort the data or am i missing something?

@PaulHallam ,

 

Do you want to classify the percentage column and count it by date ?



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

Proud to be a Super User!



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.