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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Day Wise percentage calualtion using text feild

Hi, I am trying to find a way to calculate the day-wise percentage using the text field. My data looks like this, 

 

DateCategory
1-11-2020A

1-11-2020

B
2-11-2020A
2-11-2020B
2-11-2020C
3-11-2020A

 

I have used "show value as - percentage of grand total".

it shows me a result something like this 

the result i am getting nowthe result i am getting now

But i need date wise percentage bifurcation like below, where day total percentage should be 100%

 

1-11-2020A34%
1-11-2020B76%

Can some one help me in getting the result i need. 

 

Regards

Ela

 

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, I think that you can use Matrix chart in Power BI to achieve this, you can try my method:

Create a Matrix chart, and place columns like this:

v-robertq-msft_0-1604557592103.png

 

 

And you can get what you want.

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, I think that you can use Matrix chart in Power BI to achieve this, you can try my method:

Create a Matrix chart, and place columns like this:

v-robertq-msft_0-1604557592103.png

 

 

And you can get what you want.

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-robertq-msft  Thank you, it does serve the purpose.

 

amitchandak
Super User
Super User

@Anonymous ,

You an GT with Measure like

divide([measure], calculate([measure],all(Table))

or
divide([measure], calculate([measure],allselected(Table))

 

Or you can use percent of the total in the values field

Percent of total.png

Anonymous
Not applicable

@amitchandak , thanks for the reply. I am now your youtube follower. great videos and Kudos on SQL Vs DAX topic. Keep going.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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