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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX

Hi,

 

I have 2 queries,

1. I have a matrix where the values are in % and I want the total in numbers, Is it possible to get like that

 

2. I have created a closure TAT with respect to Complaint created time and closure time.With the help of difference in hours column I have created a column like below

mm_0426_0-1663065020113.png

Now the requirement is they want to include one more field as "closed in 2 hrs-overall" and I'm struggling to create since there is already fields as "Closed in 2 hrs-weekdays", closed in 2 hrs-weekend".

Attaching sample screenshot for the reference.

mm_0426_1-1663065168274.png

Please help with the solution.

Thanks in Advance

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Create a column group. Have same name for other other than the first two, which you group under closed in 2 hrs-overall

 

example

 

Switch(True(),

[Status] in {"Closed in 2 hrs-weekdays", "closed in 2 hrs-weekend" } , "closed in 2 hrs-overall",

[Status] )

 

you can use them to two-level

 

or you can use other for all other

 

Switch(True(),

[Status] in {"Closed in 2 hrs-weekdays", "closed in 2 hrs-weekend" } , "closed in 2 hrs-overall",

"Others")

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.