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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
v-kered
Regular Visitor

Getting Current monht or week value by using any visualizations

Hi,

 

I have a graph which gives me the monthly trend. Below is a snapshot of it.

In the above image you can find the monthly view. So for the current month "January" the value is 55. when I pull  a card and get that field into it, it is giving me an average of all the values but I want  to show only 55 in the card visualizations.  Can you guys help me ingetting the current months value in a title instead of average of complete field?

 

Thanks,

Keerthi

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @v-kered,

You forgot to add the snapshot of your graph. Please help to post sample data of your tables if the following methods don't solve your issue.

I am not sure what fields you use to create the graph and the card. But if you want to display value of specific month in the Card visual, you can create a slicer using monthname field, and use the slicer to filter the card to show value for "January", there is an example for your reference.
1.PNG


Or you can drag monthname field to visual level filters, then select "January" in the filter to show value for "January".
1.PNG



However, if you want to dynamically show value for current month in card visual, you would need to create calculated column using the following formula, then create slicer using this calculated column  and use it to filter your card visual.

CheckCurrentMonth= if(MONTH('Date'[Date])=MONTH(NOW()),"Current Month",Format('Date'[Date], "YYYY mmmm"))

 

Thanks,
Lydia Zhang

View solution in original post

4 REPLIES 4
v-kered
Regular Visitor

Help.JPGThank you for a quick response and it helped me a lot.

One Quick Question: I was given a Dax Function to calculate Current month

here we go :

CheckCurrentMonth = if(MONTH('Query1'[Date])=MONTH(NOW()),"Current Month",Format('Query1'[$CreatedTime], "YYYY mmmm"))

this function gives me the current days number. In the snapshot, for February the FDR% is 48%. (02/01/2017 is 50% and 02/02/2017 is 36%) so I need a overall February % which is 48%. But I get only 36 (Todays count). Not sure how to get the total months Percentage. Is this possible? If so, can you help me getting it

 

-Keerthi

v-kered
Regular Visitor

Help.JPGThank you for a quick response and it helped me a lot.

One Quick Question: I was given a Dax Function to calculate Current month

here we go :

CheckCurrentMonth = if(MONTH('Query1'[Date])=MONTH(NOW()),"Current Month",Format('Query1'[$CreatedTime], "YYYY mmmm"))

this function gives me the current days number. In the snapshot, for February the FDR% is 48%. (02/01/2017 is 50% and 02/02/2017 is 36%) so I need a ovverall February % which is 48%. But I get only 36 (Todays count). Not sure how to get the total months Percentage. Is this possible? If so, can you help me getting it

 

-Keerthi

v-kered
Regular Visitor

Thank you for a quick response and it helped me a lot.

Anonymous
Not applicable

Hi @v-kered,

You forgot to add the snapshot of your graph. Please help to post sample data of your tables if the following methods don't solve your issue.

I am not sure what fields you use to create the graph and the card. But if you want to display value of specific month in the Card visual, you can create a slicer using monthname field, and use the slicer to filter the card to show value for "January", there is an example for your reference.
1.PNG


Or you can drag monthname field to visual level filters, then select "January" in the filter to show value for "January".
1.PNG



However, if you want to dynamically show value for current month in card visual, you would need to create calculated column using the following formula, then create slicer using this calculated column  and use it to filter your card visual.

CheckCurrentMonth= if(MONTH('Date'[Date])=MONTH(NOW()),"Current Month",Format('Date'[Date], "YYYY mmmm"))

 

Thanks,
Lydia Zhang

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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