web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Autonumbering - Only r...
Power Apps
Unanswered

Autonumbering - Only rows with this value?

(0) ShareShare
ReportReport
Posted on by 315

I have a table in Dataverse with all my equipment, for different locations. I also use it as a log for keeping track of the equipment.

I have these columns to identify what type of row it is:

Location (Location 1 / 2 / ..)

DataType (Equipment / Log / ..)

 

I use a 12 digit autonumbering column to generate barcodes/QR-codes. But out of the box the autonumber column also gives a number to the "Log-rows".
I really just want DataType: Equipment to get a value in the AutoNumber column. Is this possible to achieve?

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @mrstian89 ,

     

    The Autonumber column is going to apply a number for every row, no ability to autonumber by a specific type of row.  You could do the following as an approach:

    1.  Create a calculated column that is text based on the table

    2.  Set the value of this field based on whatever logic you have, example, set only if "Equipment" as the data type and set to empty string otherwise.  I did with this type of calculation on the field, see below

    Screen Shot 2021-10-21 at 2.47.18 PM.png

    3.  With this approach it set the values for the ones that I had only as "Time and Material" and kept others blank.  Note, it does keep incrementing so the numbers will be spaced vs. sequential.  In the screen shot below the Name field is setup as AutoNumber...

    Screen Shot 2021-10-21 at 2.46.46 PM.png

    Hope this helps.  Please accept if answers your question or Like if helps in any way.

    Thanks,

    Drew

  • mrstian89 Profile Picture
    315 on at

    Didn't know about this option, but it doesn't quite do what I want to.
    Is there any way to have a solution which will give me sequential numbering?

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    HI @mrstian89 ,

     

    I don't know of a solution that would keep the numbers sequential unless you separated the tables and Kept Equipment isolated from Log...

     

    Thanks,


    Drew

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard