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
DimaMD
Solution Sage
Solution Sage

Dynamics of time of receipts in the context of days of the week

Hello Community!
I have a table of receipts with the following data
- date
- Organisation ID
- #Documents
- ID.Product
- Amount
- Time.Coming
My task was to deduce the dynamics of parishes
Dividing the Time.Coming column by Hours and Minutes and combining them with the COMBINEVALUES function, I got the desired result
Screenshot_10.jpg
Now I want to do Measure

VAR _h = 
MINX(
        ADDCOLUMNS(
            'Table.Coming',
             "Hour_new",
                 FORMAT('Table.Coming'[Time.Coming], "HH")),
   [Hour_new])
VAR _m =
    MINX(
        ADDCOLUMNS(
            'Table.Coming',
             "min",
                 FORMAT('Table.Coming'[Time.Coming], "NN")),
                 [min])
                 
Return
 COMBINEVALUES(",", _h,_m)

I write this measure but understand that it works incorrectly because it takes minimal minutes
Screenshot_11.jpg
Help me understand how to write a measure correctly
Example file


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
4 REPLIES 4
smpa01
Super User
Super User

@DimaMD  what is the desired output?

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Hi, @smpa01 
The desired result is to show the time in this format 9.20
This will allow me to display the dynamics in the chart.
In the example, all calculations are performed through calculated columns
I tried to write a measure but the minutes are displayed incorrectly


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
amitchandak
Super User
Super User

@DimaMD , Try like

Format(Min[Time.Coming]), "HH, MM")

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

Hi, @amitchandak 
Measure  not work
The measure gives the value of only the hour
Screenshot_12.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

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.